use index.inc
This commit is contained in:
parent
a93c78bf00
commit
d8316b54a8
6
api.php
6
api.php
@ -1,9 +1,7 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
require_once 'inex.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_mojotrollz',array_merge($_POST,$_GET));
|
||||
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");
|
||||
7
index.inc
Normal file
7
index.inc
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once 'config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
@ -1,9 +1,7 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
require_once 'index.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));
|
||||
|
||||
echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_mojotrollz', array_merge($_POST,$_GET), 1, false, true);
|
||||
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");
|
||||
6
sai.php
6
sai.php
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
require_once 'index.inc';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
|
||||
echo (new SYSTEM\SAI\saigui())->html();
|
||||
echo (new SYSTEM\SAI\sai_gui())->html();
|
||||
Loading…
x
Reference in New Issue
Block a user