Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git] / access / logout.php
index 961e631d9a6a3c2b4000cd12fc1fc502fa704cfb..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>
@@ -43,7 +46,5 @@ echo "</div></td>
 </table>
 <br>\n";
 end_page(false, true);
+session_unset();
 @session_destroy();
-?>
-
-