diff --git a/functions.inc.php b/functions.inc.php index f3eeba7..4fa629f 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -12,8 +12,9 @@ if (preg_match("/functions.inc.php/", $_SERVER['SCRIPT_NAME'])) { 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