gest366/lib/user_check.php

15 lines
234 B
PHP
Raw Normal View History

2021-02-24 20:40:04 +00:00
<?php
if ( isset ($_GET['op']) )
$op = $_GET['op'];
else
$op = '';
if( $op == 'logout' )
$_SESSION['idutente']='';
if( $_SESSION['idutente'] == '' ){
redirect($rootdir."/index.php","php");
exit;
}
?>