Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git] / access / logout.php
index 6ea32fd7d6599775499e5427a0e9ea4dfff3d455..bb30e713a42f926cdcdaf7c5fa6ec96e3b244824 100644 (file)
@@ -9,6 +9,9 @@
     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");
@@ -28,7 +31,7 @@ echo "<table width='100%' border='0'>
     <td><div align='center'><font size=2>";
 echo _("Thank you for using") . " ";
 
-echo "<strong>$app_title $version</strong>";
+echo "<strong>".$SysPrefs->app_title." $version</strong>";
 
 echo "</font></div></td>
   </tr>
@@ -44,7 +47,4 @@ echo "</div></td>
 <br>\n";
 end_page(false, true);
 session_unset();
-session_destroy();
-?>
-
-
+@session_destroy();