- 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:
@@ -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 != '')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user