diff --git a/api.php b/api.php index 8279c28..26313a2 100644 --- a/api.php +++ b/api.php @@ -1,14 +1,13 @@ danube, © WebCraft Media 2013'), - array(config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, 'lib/system/'), - array(config_ids::SYS_CONFIG_LANGS, array('deDE', 'enUS', 'huHU')), - array(config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'), - array(config_ids::WEBCRAFT_BILLING_TOKEN, 'DANUBEdhasda3afdsjadfa3')); \ No newline at end of file diff --git a/index.php b/index.php index f1739f9..6e7c83b 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,13 @@ html(); -new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); \ No newline at end of file +\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__))); +\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_danube',array_merge($_POST,$_GET), 1, true, true); +new \SYSTEM\LOG\COUNTER("API was called sucessfully."); \ No newline at end of file diff --git a/sai.php b/sai.php index ec5485f..faef1c8 100644 --- a/sai.php +++ b/sai.php @@ -1,18 +1,13 @@ html(); \ No newline at end of file