class_exists 다시 수정
This commit is contained in:
1 parent
51d62b54d4
commit
3fbf1d4b0c
7 files changed
+8
-8
No files matched your search
@@ -25,7 +25,7 @@ if(strlen($password)!=128){
|
||||
]);
|
||||
}
|
||||
|
||||
if(!class_exists('sammo\RootDB')){
|
||||
if(!class_exists('\\sammo\\RootDB')){
|
||||
Json::die([
|
||||
'result'=>false,
|
||||
'reason'=>'DB 설정이 완료되지 않았습니다.'
|
||||
|
||||
@@ -16,7 +16,7 @@ function dbSQLFail($params){
|
||||
]);
|
||||
}
|
||||
|
||||
if(!class_exists('sammo\RootDB')){
|
||||
if(!class_exists('\\sammo\\RootDB')){
|
||||
Json::die([
|
||||
'step'=>'config'
|
||||
]);
|
||||
|
||||
@@ -45,7 +45,7 @@ if(file_exists(ROOT.'/d_setting/RootDB.php') && is_dir(ROOT.'/d_setting/RootDB.p
|
||||
]);
|
||||
}
|
||||
|
||||
if(class_exists('sammo\RootDB')){
|
||||
if(class_exists('\\sammo\\RootDB')){
|
||||
Json::die([
|
||||
'result'=>false,
|
||||
'reason'=>'이미 RootDB.php 파일이 있습니다'
|
||||
|
||||
Reference in new issue
Block a user