gest366/lib/user_check.php

15 lines
234 B
PHP

<?php
if ( isset ($_GET['op']) )
$op = $_GET['op'];
else
$op = '';
if( $op == 'logout' )
$_SESSION['idutente']='';
if( $_SESSION['idutente'] == '' ){
redirect($rootdir."/index.php","php");
exit;
}
?>