fixed include
This commit is contained in:
parent
4e9cf64736
commit
f167b36701
6
api.php
6
api.php
@ -1,9 +1,5 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'slingit/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
require_once 'index.inc';
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_slingit',array_merge($_POST,$_GET));
|
||||
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||
4
index.inc
Normal file
4
index.inc
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
require_once 'index.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
@ -1,9 +1,5 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'slingit/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
require_once 'index.inc';
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_slingit', array_merge($_POST,$_GET), 1, true, true);
|
||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||
6
sai.php
6
sai.php
@ -1,8 +1,4 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'slingit/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
require_once 'index.inc';
|
||||
|
||||
echo (new SYSTEM\SAI\saigui())->html();
|
||||
@ -1,8 +1,4 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'slingit/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
require_once 'index.inc';
|
||||
|
||||
echo \SYSTEM\SQL\setup::install();
|
||||
Loading…
x
Reference in New Issue
Block a user