#19790379 agreement form added

before install, session handeler not use db


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8405 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-05-30 09:31:27 +00:00
parent ae259db337
commit 2cca2a7913
17 changed files with 150 additions and 16 deletions

View file

@ -120,7 +120,7 @@ class Context {
$this->loadLang(_XE_PATH_.'modules/module/lang');
// set session handler
if($this->db_info->use_db_session != 'N') {
if(Context::isInstalled() && $this->db_info->use_db_session != 'N') {
$oSessionModel = &getModel('session');
$oSessionController = &getController('session');
session_set_save_handler(