23require_once
'../include/constant.php';
24require_once (
"lib/ac_common.php");
25require_once(
'class/database.class.php');
31 echo
h1(_(
"try to clean session"));
34Noalyss_user::clean_session();
38if (isset($_SERVER[
'HTTP_COOKIE'])) {
39 $cookies = explode(
';', $_SERVER[
'HTTP_COOKIE']);
40 foreach($cookies as $cookie) {
41 $parts = explode(
'=', $cookie);
42 $name = trim($parts[0]);
43 @setcookie(
$name,
'', time()-1000);
44 @setcookie(
$name,
'', time()-1000,
'/');
47echo
'<h2 class="info">'._(
'Vous êtes déconnecté').
'</h2>';
50 echo
h1(_(
"Session after cleansing"));
54 echo
'<META HTTP-EQUIV="REFRESH" content="0;url=index.html">';
html_page_start($p_theme="", $p_script="", $p_script2="")
Default page header for each page.
h1($p_string, $p_class="")