diff --git a/ServerManager.php b/ServerManager.php index 9125214..af0243d 100644 --- a/ServerManager.php +++ b/ServerManager.php @@ -293,7 +293,7 @@ class ServerManager extends Component $string = sprintf("| %s \t| %s \t|\n", str_pad('名称', $maxLength - strlen('名称')), '值'); foreach ($this->server->setting as $key => $value) { 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;