- fixed Session length issue if MySQL is configured as Session handler, closed #666

This commit is contained in:
Mark Friedrich
2018-12-02 17:55:10 +01:00
parent 801eb0a43f
commit 295ffc8fae
3 changed files with 41 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ class Controller {
){
if(!headers_sent() && session_status()!=PHP_SESSION_ACTIVE){
$session = new DB\SQL\Session($this->getDB('PF'), 'sessions', true, $onSuspect);
new DB\SQL\MySQL\Session($this->getDB('PF'), 'sessions', true, $onSuspect);
}
}