forked from devsam/core
_Setting, _String, _Time 클래스 재 명명
- autoload로 변환
This commit is contained in:
@@ -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
@@ -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
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user