define ROOT_PATH a little cleaner
This commit is contained in:
parent
7b738eb453
commit
57705772b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue