- don't show empty line in commands for webserver is no deactivated-root-dir is set (and therefore no command is shown but an empty line)

This commit is contained in:
Michael Kaufmann (d00p)
2010-03-20 14:50:58 +00:00
parent dcb32c1bb5
commit 16bca3c665

View File

@@ -111,6 +111,7 @@ if($userinfo['change_serversettings'] == '1')
if(is_array($value))
{
$commands = implode("\n", $value);
$commands = str_replace("\n\n", "\n", $commands);
if($commands != '')
{