if ((empty($GLOBALS['action'])) && ($check == "admin_only"))
{
// Redirect to right URL
- LOAD_URL(URL."/modules.php?module=admin&action=login");
+ LOAD_URL("modules.php?module=admin&action=login");
}
// Load include file
}
// When type of admin menu is not set fallback to old menu system
- if (empty($CONFIG['admin_menu'])) $CONFIG['admin_menu'] = "OLD";
+ if (empty($_CONFIG['admin_menu'])) $_CONFIG['admin_menu'] = "OLD";
// Check for version and switch between old menu system and new "intelligent menu system"
if ((ADMIN_CHECK_MENU_MODE() == "NEW") && (file_exists(PATH."inc/modules/admin/la_sys-inc.php")))