system include path corrected
This commit is contained in:
parent
a04a67a551
commit
67cb3257d1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/nbproject/private/
|
||||
2
api.php
2
api.php
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once '../system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
|
||||
|
||||
require_once 'config.php'; //Server config
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once '../system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
\SYSTEM\system::register_errorhandler_dbwriter();
|
||||
\SYSTEM\system::register_errorhandler_jsonoutput();
|
||||
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
|
||||
|
||||
4
sai.php
4
sai.php
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once '../system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'system/autoload.inc.php'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc.php'; //Project Classes
|
||||
|
||||
require_once 'config.php'; //Server config
|
||||
@ -9,7 +9,7 @@ SYSTEM\system::include_ResultShortcut();
|
||||
SYSTEM\system::register_errorhandler_dbwriter(); //write errors to database (must be first errorhandler to register)
|
||||
SYSTEM\system::register_errorhandler_jsonoutput(); //print errors as json to caller
|
||||
|
||||
require_once '../system/sai/autoload.inc.php';
|
||||
require_once 'system/sai/autoload.inc.php';
|
||||
require_once 'mojotrollz/sai/autoload.inc.php';
|
||||
require_once 'mojotrollz/sai/register_modules.php';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user