class_exists에 namespace가 지정되지 않은 문제 해결

This commit is contained in:
Hide_D committed 2018-03-25 00:30:44 +09:00
1 parent cab0401dfa
commit 8c03d1fa31
7 files changed
+10 -8

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ class AppConf{
* @return \MeekroDB
*/
public static function requireRootDB(){
if(!class_exists('RootDB')){
if(!class_exists('sammo\RootDB')){
trigger_error('RootDB.php가 설정되지 않았습니다.', E_USER_ERROR);
die();
}
@@ -40,7 +40,7 @@ class AppConf{
* @return \MeekroDB
*/
public static function requireDB(){
if(!class_exists('DB')){
if(!class_exists('sammo\DB')){
trigger_error('DB.php가 설정되지 않았습니다.', E_USER_ERROR);
die();
}