수정된 DB, SETING.php 동작 안하는 문제 해결
This commit is contained in:
@@ -7,5 +7,3 @@ if($SETTING->isExist()) {
|
||||
} else {
|
||||
Error('설정 파일이 없습니다. 설정을 먼저 하십시요!');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once('_common.php');
|
||||
require_once(ROOT.'/f_func/class._Setting.php');
|
||||
require_once(__DIR__.'/../f_func/class._Setting.php');
|
||||
|
||||
$SETTING = new _Setting(ROOT);
|
||||
$SETTING = new _Setting(__DIR__.'/..');
|
||||
|
||||
|
||||
|
||||
+5
-5
@@ -18,9 +18,9 @@ define('MANAGE', 'manage');
|
||||
define('ICON', 'icon');
|
||||
|
||||
$serverList = [
|
||||
'che'=>['체', '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')]
|
||||
];
|
||||
|
||||
+2
-2
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user