1
0
Deriva 0
MastodonStartpage/web/admin/include/sessionstart.php
pezcurrel 5d6d4d8fb7 ...
2020-01-11 00:51:02 +01:00

11 righe
249 B
PHP

<?php
session_name('mastostartadmin');
session_start();
if (!array_key_exists('AdmID',$_SESSION)) {
$_SESSION=array();
session_destroy();
muoribene('Sessione scaduta.<br>Puoi andare alla <a href="index.php">pagina di accesso</a>.',false);
}
?>