//
function IS_LOGGED_IN()
{
- global $_SESSION, $status, $LAST;
+ global $status, $LAST;
if (!is_array($LAST)) $LAST = array();
$ret = false;
}
}
//
-function IS_DEMO()
-{
- global $_SESSION;
+function IS_DEMO() {
return ((EXT_IS_ACTIVE("demo")) && ($_SESSION['admin_login'] == "demo"));
}
//