class_exists 다시 수정
This commit is contained in:
@@ -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