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

+1 -1
View File
@@ -45,7 +45,7 @@ if(file_exists(ROOT.'/d_setting/RootDB.php') && is_dir(ROOT.'/d_setting/RootDB.p
]);
}
if(class_exists('RootDB')){
if(class_exists('sammo\RootDB')){
Json::die([
'result'=>false,
'reason'=>'이미 RootDB.php 파일이 있습니다'