- if (!isset($_CONFIG['index_delay'])) $_CONFIG['index_delay'] = 0;
- if (!isset($_CONFIG['index_cookie'])) $_CONFIG['index_cookie'] = 0;
+ if (getConfig('index_delay') == null) $_CONFIG['index_delay'] = 0;
+ if (getConfig('index_cookie') == null) $_CONFIG['index_cookie'] = 0;
} elseif (isSessionVariableSet('visited')) {
// Remove cookie when admin set 0 in setup
set_session("visited", "");
} elseif (isSessionVariableSet('visited')) {
// Remove cookie when admin set 0 in setup
set_session("visited", "");
LOAD_TEMPLATE("index", false, ADD_URL_DATA(""));
// Shall I insert an automated forward?
LOAD_TEMPLATE("index", false, ADD_URL_DATA(""));
// Shall I insert an automated forward?
define('__MOD_VALUE' , ADD_URL_DATA("index"));
LOAD_TEMPLATE("index_forward");
}
define('__MOD_VALUE' , ADD_URL_DATA("index"));
LOAD_TEMPLATE("index_forward");
}