// Check for access control line of current menu entry
runFilterChain('check_admin_acl');
- // When type of admin menu is not set fallback to old menu system
- if (!isConfigEntrySet('admin_menu')) setConfigEntry('admin_menu', 'OLD');
-
// Check for version and switch between old menu system and new intelligent menu system
if ((adminGetMenuMode() == 'NEW') && (isIncludeReadable('inc/modules/admin/lasys-inc.php'))) {
// Default area is the entrance, of course
// Set content type
setContentType('text/html');
-// Fix missing array elements here
-if (!isConfigEntrySet('index_delay')) setConfigEntry('index_delay' , 0);
-if (!isConfigEntrySet('index_cookie')) setConfigEntry('index_cookie', 0);
-
// Check for cookies
if ((isSessionVariableSet('visited')) || (getConfig('index_delay') > -1)) {
// Header