Path fix
authorniekt0 <niekt0@kyberia.cz>
Fri, 22 Oct 2010 14:08:13 +0000 (16:08 +0200)
committerHarvie <tomas@mudrunka.cz>
Sun, 24 Oct 2010 01:43:04 +0000 (03:43 +0200)
wwwroot/nodes.php

index 88f1b3cc2b3b969b6f88746898f0e668ed093cd0..8b3e1506ae110a40362c5cc156234cb92a0cfad7 100644 (file)
@@ -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();
 
This page took 0.125593 seconds and 4 git commands to generate.