mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 11:33:55 +09:00
if use cache, error DB Object. so check DB Object before using
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12444 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c4dc00700
commit
02f39a7384
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// If connection to DB has a problem even though it's not install module, set error
|
// If connection to DB has a problem even though it's not install module, set error
|
||||||
if($this->module != 'install' && $GLOBALS['__DB__'][Context::getDBType()]->isConnected() == false) {
|
if($this->module != 'install' && isset($GLOBALS['__DB__']) && $GLOBALS['__DB__'][Context::getDBType()]->isConnected() == false) {
|
||||||
$this->error = 'msg_dbconnect_failed';
|
$this->error = 'msg_dbconnect_failed';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue