linkpi_firmware_history/rootfs/link/web/session.php

9 lines
188 B
PHP

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