File status/index.php
Last commit: Sat Nov 6 00:01:59 2021 +0100 Jan Dankert New: Status interface for health checks.
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 }
Downloadstatus/index.php
History Sat, 6 Nov 2021 00:01:59 +0100 Jan Dankert New: Status interface for health checks.