서버 리셋 시 서버 이름을 받아오도록 설정
This commit is contained in:
@@ -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