remove duplicate system init
This commit is contained in:
parent
e33d48497b
commit
bca93c406f
2
api.php
2
api.php
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'index.inc';
|
require_once 'index.inc';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
|
||||||
|
|
||||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_buergerkomitee',array_merge($_POST,$_GET));
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_buergerkomitee',array_merge($_POST,$_GET));
|
||||||
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||||
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'index.inc';
|
require_once 'index.inc';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
|
||||||
|
|
||||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_buergerkomitee', array_merge($_POST,$_GET), 1, false, true);
|
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_buergerkomitee', array_merge($_POST,$_GET), 1, false, true);
|
||||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||||
2
sai.php
2
sai.php
@ -1,6 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once 'index.inc';
|
require_once 'index.inc';
|
||||||
|
|
||||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
|
||||||
|
|
||||||
echo (new SYSTEM\SAI\sai_gui())->html();
|
echo (new SYSTEM\SAI\sai_gui())->html();
|
||||||
Loading…
x
Reference in New Issue
Block a user