access origin - so everything can be displayed - not 100% sure if secure...
This commit is contained in:
parent
05718ccb9d
commit
158344529b
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$rhein_config = array( array(config_ids::SYS_CONFIG_ERRORREPORTING, E_ALL | E_STRICT),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEURL, 'http://www.mojotrollz.eu/web/rhein/'),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEURL, 'http://mojotrollz.eu/web/rhein/'),
|
||||
array(config_ids::SYS_CONFIG_PATH_BASEPATH, '/home/web/webdir/rhein/'),
|
||||
array(config_ids::SYS_CONFIG_DB_TYPE, SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_TYPE_MYS),
|
||||
array(config_ids::SYS_CONFIG_DB_HOST, '127.0.0.1'),
|
||||
@ -11,7 +11,7 @@ $rhein_config = array( array(config_ids::SYS_CONFIG_ERRORREPORTING,
|
||||
array(config_ids::SYS_SAI_CONFIG_NAVIMG, '/web/system/sai/page/img/logo.png'),//not working, cuz paths are not set yet! \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'page/default_page/img/logo.png')),
|
||||
array(config_ids::SYS_SAI_CONFIG_BASEURL, 'http://mojotrollz.eu/web/rhein/sai.php?'),
|
||||
array(config_ids::SYS_SAI_CONFIG_TITLE, 'Fewo Rhein - Admin Bereich'),
|
||||
array(config_ids::SYS_SAI_CONFIG_COPYRIGHT, '<a href="http://www.mojotrollz.eu/web/rhein/" target="_blank">fewo rhein</a> © WebCraft Media 2013'),
|
||||
array(config_ids::SYS_SAI_CONFIG_COPYRIGHT, '<a href="http://mojotrollz.eu/web/rhein/" target="_blank">fewo rhein</a> © 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'),
|
||||
|
||||
@ -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.");
|
||||
1
sai.php
1
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();
|
||||
Reference in New Issue
Block a user