Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-07 18:40:45 +08:00
parent 0031d73eff
commit 35859fead1
+1 -1
View File
@@ -293,7 +293,7 @@ class ServerManager extends Component
$string = sprintf("| %s \t| %s \t|\n", str_pad('名称', $maxLength - strlen('名称')), '值'); $string = sprintf("| %s \t| %s \t|\n", str_pad('名称', $maxLength - strlen('名称')), '值');
foreach ($this->server->setting as $key => $value) { foreach ($this->server->setting as $key => $value) {
var_dump(str_pad($key, $maxLength - strlen($key)) . '.'); var_dump(str_pad($key, $maxLength - strlen($key)) . '.');
$string .= sprintf("| %s \t| %s \t|\n", str_pad($key, $maxLength - strlen($key)), $value); $string .= sprintf("| %s \t| %s \t|\n", str_pad($key, $maxLength - strlen($key),' '), $value);
} }
echo $string; echo $string;