diff --git a/config.php b/config.php index 47f6116..b40c3b6 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,6 @@ fewo rhein © WebCraft Media 2013'), + array(config_ids::SYS_SAI_CONFIG_COPYRIGHT, 'fewo rhein © WebCraft Media 2013'), array(config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, '../system/'), array(config_ids::SYS_CONFIG_LANGS, array('deDE')), array(config_ids::SYS_CONFIG_DEFAULT_LANG, 'deDE'), diff --git a/index.php b/index.php index 6283888..e36d594 100644 --- a/index.php +++ b/index.php @@ -9,5 +9,6 @@ require_once 'config.php'; \SYSTEM\system::register_errorhandler_dbwriter(); \SYSTEM\system::register_errorhandler_jsonoutput(); +header('Access-Control-Allow-Origin: *'); echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_rhein', array_merge($_POST,$_GET), 1, false, true)->html(); new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); \ No newline at end of file diff --git a/sai.php b/sai.php index ba2da8e..63c7613 100644 --- a/sai.php +++ b/sai.php @@ -9,5 +9,6 @@ SYSTEM\system::include_ResultShortcut(); 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 +header('Access-Control-Allow-Origin: *'); $sai = new SYSTEM\SAI\saigui(); echo $sai->html(); \ No newline at end of file