Naeltard d6d6375978 started redestoff,
indexed on google
2015-05-16 12:42:21 +02:00

13 lines
983 B
PHP

<?php
require_once 'system/autoload.inc'; //SYSTEM Classes
require_once 'redestoff/autoload.inc.php'; //Project Classes
require_once 'config.php'; //Server config
SYSTEM\system::start($redestoff_config); //Start System time + config
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult()
SYSTEM\system::register_errorhandler_dbwriter(); //write errors to database (must be first errorhandler to register)
SYSTEM\system::register_errorhandler_jsonoutput(); //print errors as json to caller
$sai = new SYSTEM\SAI\saigui();
echo $sai->html();