diff --git a/f_config/DB.php b/f_config/DB.php index 50a9f863..0f474331 100644 --- a/f_config/DB.php +++ b/f_config/DB.php @@ -7,5 +7,3 @@ if($SETTING->isExist()) { } else { Error('설정 파일이 없습니다. 설정을 먼저 하십시요!'); } - - diff --git a/f_config/SETTING.php b/f_config/SETTING.php index b0b4c376..2a082f9e 100644 --- a/f_config/SETTING.php +++ b/f_config/SETTING.php @@ -1,7 +1,7 @@ ['체', 'white', new _Setting(__DIR__.ROOT.'/che')], - 'kwe'=>['퀘', 'yellow', new _Setting(__DIR__.ROOT.'/kwe')], - 'pwe'=>['풰', 'orange', new _Setting(__DIR__.ROOT.'/pwe')], - 'twe'=>['퉤', 'magenta', new _Setting(__DIR__.ROOT.'/twe')], - 'hwe'=>['훼', 'red', new _Setting(__DIR__.ROOT.'/hwe')] + 'che'=>['체', 'white', new _Setting(__DIR__.'/../che')], + 'kwe'=>['퀘', 'yellow', new _Setting(__DIR__.'/../kwe')], + 'pwe'=>['풰', 'orange', new _Setting(__DIR__.'/../pwe')], + 'twe'=>['퉤', 'magenta', new _Setting(__DIR__.'/../twe')], + 'hwe'=>['훼', 'red', new _Setting(__DIR__.'/../hwe')] ]; diff --git a/f_config/config.php b/f_config/config.php index a7ceea7e..fb2385db 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -33,8 +33,8 @@ define('PHP', '.php'); define('FRAME', 'Frame.php'); define('STYLE', 'Style.css'); define('ACTION', 'Action.js'); -define('POST', 'Post.php'); -define('GET', 'Get.php'); +//define('POST', 'Post.php'); +//define('GET', 'Get.php'); define('INC', 'Inc.php'); define('APP', 'app'); diff --git a/f_func/class._Setting.php b/f_func/class._Setting.php index e7a75689..918605e1 100644 --- a/f_func/class._Setting.php +++ b/f_func/class._Setting.php @@ -7,8 +7,10 @@ class _Setting { private $exist = 0; public function __construct($basepath) { - $this->basepath = realpath($basepath); - $this->settingFile = realpath($basepath.D_SETTING.W.'conf.php'); + + $basepath = realpath($basepath); + $this->basepath = $basepath; + $this->settingFile = realpath($basepath.'/d_setting/conf.php'); if(file_exists($this->settingFile)) { $this->exist = 1;