9 lines
188 B
PHP
9 lines
188 B
PHP
|
<?php
|
||
|
session_start();
|
||
|
if($_SESSION['login']!="admin" && $_SESSION['login']!="superadmin" && !(isset($needLogin) && !$needLogin))
|
||
|
{
|
||
|
header("Location:/login.php");
|
||
|
exit();
|
||
|
}
|
||
|
?>
|