close #53 switch to "file based" to "DB based" SESSION handling

This commit is contained in:
Exodus4D
2015-10-18 14:27:15 +02:00
parent 674faf8d2c
commit 50c97f96f8
3 changed files with 14 additions and 3 deletions

View File

@@ -20,15 +20,16 @@ class AccessController extends Controller {
* @param $f3
*/
function beforeroute($f3) {
parent::beforeroute($f3);
// Any CMS route of a child class of this one, requires a
// valid logged in user!
$loginCheck = $this->_checkLogIn();
if( !$loginCheck ){
// no user found or LogIn timer expired
$this->logOut($f3);
}
parent::beforeroute($f3);
}
/**