From: niekt0 Date: Fri, 22 Oct 2010 14:08:13 +0000 (+0200) Subject: Path fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=1757f0605245ff7157155bff6491650f386eb3a5;p=mirrors%2FKyberia-bloodline.git Path fix --- 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();