array_merge 대신 + 기호로 충분한 경우(dictionary) +로 변경함.
This commit is contained in:
1 parent
3d06a13e72
commit
cff76c9db9
7 files changed
+11
-13
No files matched your search
@@ -70,12 +70,12 @@ foreach (AppConf::getList() as $setting) {
|
||||
];
|
||||
}
|
||||
|
||||
$state = array_merge($state, [
|
||||
$state += [
|
||||
'name' => $serverDir,
|
||||
'korName' => $serverKorName,
|
||||
'color' => $serverColor,
|
||||
'isRoot' => $serverDir == $rootServer
|
||||
]);
|
||||
];
|
||||
$server[] = $state;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user