From: <dai...@us...> - 2012-12-28 21:57:58
|
Revision: 5781 http://sourceforge.net/p/web-erp/reponame/5781 Author: daintree Date: 2012-12-28 21:57:55 +0000 (Fri, 28 Dec 2012) Log Message: ----------- trap refresh on Logout to display login dialog Modified Paths: -------------- trunk/doc/Change.log trunk/includes/session.inc Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-12-27 19:42:24 UTC (rev 5780) +++ trunk/doc/Change.log 2012-12-28 21:57:55 UTC (rev 5781) @@ -1,5 +1,6 @@ webERP Change Log +29/12/12 Phil: trap refresh on logout 24/12/12 Ricard: OutstandingGRNs.php now has show on screen option 15/12/12 Phil: Customer login selection of branch option removed unecessary fields from customer order placement 15/12/12 Bob Thomas: modified default.css for the default theme to use pt based default font and other font sizes based on this Modified: trunk/includes/session.inc =================================================================== --- trunk/includes/session.inc 2012-12-27 19:42:24 UTC (rev 5780) +++ trunk/includes/session.inc 2012-12-28 21:57:55 UTC (rev 5781) @@ -118,9 +118,12 @@ } } /* only do security checks if AllowAnyone is not true */ + elseif(basename($_SERVER['SCRIPT_NAME'])!='Logout.php'){ + /* User nust have hit refresh on Logout page */ + die(include($PathPrefix . 'includes/Login.php')); +} + - - /*User is logged in so get configuration parameters - save in session*/ include($PathPrefix . 'includes/GetConfig.php'); |