log("cookie_off"); } if (Get::has('forgetUid')) { setcookie('ORGuid', '', time() - 3600, '/', '', 0); Cookie::kill('ORGuid'); setcookie('ORGdomain', '', time() - 3600, '/', '', 0); Cookie::kill('ORGdomain'); } if (isset($_SESSION['log'])) { $ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; $_SESSION['log']->log('deconnexion',$ref); } XorgSession::destroy(); if (Get::has('redirect')) { redirect(rawurldecode(Get::get('redirect'))); } else { new_skinned_page('deconnexion.tpl', AUTH_PUBLIC); $page->run(); } // vim:set et sws=4 sts=4 sw=4: ?>