HB/onyx/hb_game/jeu/logout.php

15 lines
241 B
PHP

<?php
if(!defined('INDEX')) { header('Location: ../'); exit; }
$sess->values['connected'] = FALSE;
$sess->close();
if (!empty($HB_login)) {
header('Location: '.$_SERVER["REQUEST_URI"]);
exit;
}
else {
header('Location: ./');
exit;
}
?>