Commit Diff


commit - 7b738eb4536986af752c72aa255c7ddfe4b69e1b
commit + 57705772b4484a885941a17fde283f64752ace9a
blob - f3eeba7d4acde6691c237ae67bf953e48d15c589
blob + 4fa629f41b5529beb3c17009b29cd3cd19c23399
--- functions.inc.php
+++ functions.inc.php
@@ -12,8 +12,9 @@ if (preg_match("/functions.inc.php/", $_SERVER['SCRIPT
 	die();
 }
 
-require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'conf.php');
-define("VERSION", "version 1.0.1");
+DEFINE("VERSION",  "version 1.0.1");
+DEFINE('ROOT_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
+require_once ROOT_PATH . 'conf.php';
 
 //
 // Check if debug is enabled or not