index.php (338B)
1 <?php 2 // Excecuting the CMS application programming interface (API) 3 4 require('../modules/autoload.php'); 5 6 use cms\status\Status; 7 use cms\base\Startup; 8 9 Startup::initialize(); 10 11 try { 12 Status::execute(); 13 14 } catch (Exception $e) { 15 16 if (!headers_sent()) 17 header('HTTP/1.0 500 Internal Server Error'); 18 19 echo $e->__toString(); 20 }