linkpi_firmware_history/rootfs/link/web/session.php

9 lines
188 B
PHP
Raw Permalink Normal View History

2024-02-15 22:07:30 +01:00
<?php
session_start();
if($_SESSION['login']!="admin" && $_SESSION['login']!="superadmin" && !(isset($needLogin) && !$needLogin))
{
header("Location:/login.php");
exit();
}
?>