Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 372 Bytes
<?php
use Demo\DemoApplication;
use Demo\TestDemoConfiguration;
error_reporting(E_ALL | E_STRICT);
ini_set("display_errors" , 1);
require_once __DIR__ . '/../../../vendor/autoload.php';
error_log("using test index");
try {
$svc = new DemoApplication(new TestDemoConfiguration());
$svc->run();
} catch (\Exception $e) {
error_log($e);
http_response_code(500);
}