class_exists 다시 수정

This commit is contained in:
2018-03-25 00:33:31 +09:00
parent 51d62b54d4
commit 3fbf1d4b0c
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ class AppConf{
* @return \MeekroDB
*/
public static function requireRootDB(){
if(!class_exists('sammo\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('sammo\DB')){
if(!class_exists('\\sammo\\DB')){
trigger_error('DB.php가 설정되지 않았습니다.', E_USER_ERROR);
die();
}