* DB 접속이 되지 않는 경우 메시지 출력

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4628 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-10-16 13:05:13 +00:00
parent 035a6472d0
commit 84b4b3e50b
12 changed files with 4530 additions and 298 deletions

View file

@ -181,6 +181,11 @@
$this->error = 'msg_module_is_not_exists';
}
// install 모듈이 아닐 때 DB 접속에 문제가 있으면 오류
if($this->module != 'install' && $GLOBALS['__DB__'][Context::getDBType()]->is_connected == false) {
$this->error = 'msg_dbconnect_failed';
}
// XMLRPC call 이 아니면 message view 객체 이용하도록
if(Context::getRequestMethod() != 'XMLRPC') {
// 에러가 발생하였을시 처리