Moved page number, when more than 1 page, on documents down 2 lines.
[fa-stable.git] / access / logout.php
index 762fcd0e2953cce7a9b2427299ca0f822b94f706..0e28a56db7c16434d63c99879c3f2dc88918291e 100644 (file)
@@ -9,12 +9,16 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
+
+define("FA_LOGOUT_PHP_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>
@@ -43,7 +47,7 @@ echo "</div></td>
 <br>\n";
 end_page(false, true);
 session_unset();
-session_destroy();
+@session_destroy();
 ?>