// Modules are by default not valid!
$MOD_VALID = false; $check = "failed";
-if ((!empty($CONFIG['maintenance'])) && ($CONFIG['maintenance'] == 'Y') && (!IS_ADMIN()) && ($GLOBALS['module'] != "admin"))
+if ((!empty($_CONFIG['maintenance'])) && ($_CONFIG['maintenance'] == "Y") && (!IS_ADMIN()) && ($GLOBALS['module'] != "admin"))
{
// Maintain mode is active and you are no admin
ADD_FATAL(LANG_DOWN_MAINTAINCE);
case "mem_only":
case "done":
// Construct module name
- define('__MODULE', sprintf(PATH."inc/modules/%s.php", $GLOBALS['module']));
+ define('__MODULE', sprintf("%sinc/modules/%s.php", PATH, $GLOBALS['module']));
// Does the module exists on local file system?
if (((file_exists(__MODULE)) || (!empty($URL))) && (sizeof($FATAL) == 0))