tests with code docu

This commit is contained in:
Ulf Gebhardt 2014-01-02 15:39:25 +01:00
parent 0c8e5f634f
commit 50fd0f493f
2 changed files with 14 additions and 4 deletions

View File

@ -1,12 +1,12 @@
<?php
require_once '../system/autoload.inc.php'; //SYSTEM Classes
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
require_once '../system/autoload.inc.php'; //SYSTEM Classes
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
require_once 'config.php';
SYSTEM\system::start($mojotrollz_config);
\SYSTEM\system::include_ExceptionShortcut();
\SYSTEM\system::include_ResultShortcut();
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','page_mojotrollz',array_merge($_POST,$_GET),1,false,true)->html();

10
test.php Normal file
View File

@ -0,0 +1,10 @@
<?php
require_once '../system/autoload.inc.php'; //SYSTEM Classes
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
require_once 'config.php';
SYSTEM\system::start($mojotrollz_config);
\SYSTEM\DOCU\code_docu::generate();