diff --git a/index.php b/index.php index cbe8e064c6..78f9b9d42e 100755 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ exit; } - $GLOBALS['sessionid'] = get_var('sessionid',array('GET','COOKIE')); + $GLOBALS['sessionid'] = isset($_GET['sessionid']) ? $_GET['sessionid'] : $_COOKIE['sessionid']; if (! $GLOBALS['sessionid']) { Header('Location: login.php');