서버 리셋 시 서버 이름을 받아오도록 설정
This commit is contained in:
1 parent
2102a852cb
commit
0bb1ed6f18
2 files changed
+3
-1
No files matched your search
@@ -3,6 +3,7 @@ namespace sammo;
|
||||
|
||||
class UniqueConst{
|
||||
public static $serverID = '_tK_serverID_';
|
||||
public static $serverName = '_tK_serverName_';
|
||||
|
||||
private function __construct(){}
|
||||
|
||||
|
||||
@@ -61,7 +61,8 @@ class ResetHelper{
|
||||
$result = Util::generateFileUsingSimpleTemplate(
|
||||
$servRoot.'/d_setting/UniqueConst.orig.php',
|
||||
$servRoot.'/d_setting/UniqueConst.php',[
|
||||
'serverID'=>DB::prefix().'_'.Util::randomStr(8)
|
||||
'serverID'=>DB::prefix().'_'.Util::randomStr(8),
|
||||
'serverName'=>AppConf::getList()[$prefix]->getKorName(),
|
||||
], true
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user