access origin - so everything can be displayed - not 100% sure if secure...
This commit is contained in:
parent
9e3a2fd952
commit
48d78ac5c2
@ -9,7 +9,6 @@ SYSTEM\system::start($danube_config);
|
|||||||
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
|
SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR()
|
||||||
SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult()
|
SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult()
|
||||||
|
|
||||||
//$page = new \SYSTEM\PAGE\PageApi(new SYSTEM\API\verify(), new PageApi());
|
header('Access-Control-Allow-Origin: *');
|
||||||
//echo $page->CALL(array_merge($_POST,$_GET))->html();
|
|
||||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_danube', array_merge($_POST,$_GET),1,false,true)->html();
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_danube', array_merge($_POST,$_GET),1,false,true)->html();
|
||||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||||
1
sai.php
1
sai.php
@ -13,5 +13,6 @@ require_once '../system/sai/autoload.inc.php';
|
|||||||
require_once 'danube/sai/autoload.inc.php';
|
require_once 'danube/sai/autoload.inc.php';
|
||||||
require_once 'danube/sai/register_modules.php';
|
require_once 'danube/sai/register_modules.php';
|
||||||
|
|
||||||
|
header('Access-Control-Allow-Origin: *');
|
||||||
$sai = new SYSTEM\SAI\saigui();
|
$sai = new SYSTEM\SAI\saigui();
|
||||||
echo $sai->html();
|
echo $sai->html();
|
||||||
Reference in New Issue
Block a user