15 lines
1.1 KiB
PHP
15 lines
1.1 KiB
PHP
<?php
|
|
require_once '../system/autoload.inc.php'; //SYSTEM Classes
|
|
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
|
|
require_once 'danube/autoload.inc.php'; //Project Classes
|
|
|
|
require_once 'config.php';
|
|
SYSTEM\system::start($danube_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()
|
|
|
|
//$page = new \SYSTEM\PAGE\PageApi(new SYSTEM\API\verify(), new PageApi());
|
|
//echo $page->CALL(array_merge($_POST,$_GET))->html();
|
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_danube', array_merge($_POST,$_GET),1,false,true)->html();
|
|
new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); |