mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
session_is_register is deprecated since PHP 5.3.0
SVN:code[94]
This commit is contained in:
@@ -68,7 +68,7 @@ h1 {
|
|||||||
$operation = utils::ReadParam('operation', '');
|
$operation = utils::ReadParam('operation', '');
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
if (!session_is_registered('auth_user') || !session_is_registered('auth_pwd'))
|
if (!isset($_SESSION['auth_user']) || !isset($_SESSION['auth_pwd']))
|
||||||
{
|
{
|
||||||
if ($operation == 'login')
|
if ($operation == 'login')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user