X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=8b3e1506ae110a40362c5cc156234cb92a0cfad7;hb=1757f0605245ff7157155bff6491650f386eb3a5;hp=88f1b3cc2b3b969b6f88746898f0e668ed093cd0;hpb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 88f1b3c..8b3e150 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -44,18 +44,18 @@ if ($_SESSION['debugging']) { } //requiring main config file with path/database etc. constants -require('config/config.inc'); -require('inc/senate.inc'); +require('../config/config.inc'); +require(INCLUDE_DIR.'senate.inc'); preg_match("/id\/(.*)\//",$_SERVER['HTTP_REFERER'],$ref_match); $referer_id=$ref_match[1]; //connecting to database and creating universal $db object -require(SYSTEM_ROOT.'inc/log.inc'); -require(SYSTEM_ROOT.'inc/ubik.inc'); -require(SYSTEM_ROOT.'inc/nodes.inc'); -require(SYSTEM_ROOT.'inc/error_messages.inc'); -require(SYSTEM_ROOT.'inc/database.inc'); +require(INCLUDE_DIR.'log.inc'); +require(INCLUDE_DIR.'ubik.inc'); +require(INCLUDE_DIR.'nodes.inc'); +require(INCLUDE_DIR.'error_messages.inc'); +require(INCLUDE_DIR.'database.inc'); $db=new CLASS_DATABASE();