_Setting, _String, _Time 클래스 재 명명

- autoload로 변환
This commit is contained in:
2018-03-24 21:28:12 +09:00
parent a3f83d1e95
commit 002f9ba6cf
32 changed files with 109 additions and 360 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
namespace sammo;
require_once('_common.php');
require_once(__DIR__.'/../f_func/class._Setting.php');
$SETTING = new _Setting(__DIR__.'/..');
$SETTING = new Setting(__DIR__.'/..');
+6 -6
View File
@@ -2,7 +2,7 @@
namespace sammo;
require_once('_common.php');
require_once(ROOT.'/f_func/class._Setting.php');
require_once(ROOT.'/f_func/class.Setting.php');
function getServerConfigList(){
@@ -11,11 +11,11 @@ function getServerConfigList(){
return $serverList;
}
$serverList = [
'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')]
'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')]
];
return $serverList;
}
+2 -1
View File
@@ -1,9 +1,10 @@
<?php
namespace sammo;
ob_start();
require(__dir__.'/../vendor/autoload.php');
define('__LINE__',__FILE__." ".__FUNCTION__." ".__LINE__." : ");
ob_start();
define('IMAGE', '../../image');
define('IMAGES', '../../images');