use index.inc

This commit is contained in:
Ulf Gebhardt 2023-11-01 22:36:09 +01:00
parent a93c78bf00
commit d8316b54a8
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
5 changed files with 14 additions and 15 deletions

View 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 '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
View 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__)));

View 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.");

View File

@ -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();

View File

@ -1,7 +1,5 @@
<?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__)));