wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / modules / admin.php
index 55b9a3becda352f64b389262c0d84f8ea34b63ba..b5b6b02582a31bbd2e46e69dcb736983b2a5b88d 100644 (file)
@@ -42,7 +42,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 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
@@ -352,7 +352,7 @@ if (!admin_registered)
                        }
 
                        // 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")))