Merged stable branch up to 2.3.10
[fa-stable.git] / access / logout.php
index 762fcd0e2953cce7a9b2427299ca0f822b94f706..961e631d9a6a3c2b4000cd12fc1fc502fa704cfb 100644 (file)
 $page_security = 'SA_OPEN';
 $path_to_root="..";
 include($path_to_root . "/includes/session.inc");
+add_js_file('login.js');
 
 include($path_to_root . "/includes/page/header.inc");
-page_header(_("Logout"), true, false, '', get_js_png_fix());
+page_header(_("Logout"), true, false, '');
 
 echo "<table width='100%' border='0'>
   <tr>
@@ -42,8 +43,7 @@ echo "</div></td>
 </table>
 <br>\n";
 end_page(false, true);
-session_unset();
-session_destroy();
+@session_destroy();
 ?>