fixed include

This commit is contained in:
Ulf Gebhardt 2024-03-18 10:45:27 +01:00
parent 4e9cf64736
commit f167b36701
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
5 changed files with 8 additions and 20 deletions

View 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','api_slingit',array_merge($_POST,$_GET));
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");

4
index.inc Normal file
View File

@ -0,0 +1,4 @@
<?php
require_once 'index.inc';
\SYSTEM\system::start(\WEBCRAFT\config(dirname(__FILE__)));

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

View File

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

View File

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