diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..0047e28 --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine On +RewriteCond %{HTTP_HOST} !^www\.fewo\-rhein\-zwbg\.de$ [NC] +RewriteRule ^(.*)$ http://www.fewo-rhein-zwbg.de/$1 [R=301,L] \ No newline at end of file diff --git a/config.php b/config.php index b8b4216..6d638c4 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 4b8c71f..4002339 100644 --- a/index.php +++ b/index.php @@ -9,6 +9,5 @@ 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 4fd3c65..f4e8c9f 100644 --- a/sai.php +++ b/sai.php @@ -9,6 +9,5 @@ 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