getDB(), getRootDB()를 autoload 클래스로 변경
- 각각 DB::db(), RootDB::db()임.
This commit is contained in:
@@ -8,7 +8,7 @@ class Setting {
|
||||
|
||||
public function __construct($basepath = __DIR__.'/../..') {
|
||||
$this->basepath = $basepath;
|
||||
$this->settingFile = realpath($basepath.'/d_setting/conf.php');
|
||||
$this->settingFile = realpath($basepath.'/d_setting/DB.php');
|
||||
|
||||
if(file_exists($this->settingFile)) {
|
||||
$this->exist = true;
|
||||
|
||||
Reference in New Issue
Block a user