poking at a problem

master
BodgeMaster 2020-03-05 10:52:03 +01:00
parent a4f45ac04b
commit 3b8cf2bb9d
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ $git_commands = get_command_list("commands_git.conf");
$command = $command . " 2>&1"; $command = $command . " 2>&1";
} }
$output = shell_exec($command); $output = shell_exec($command);
echo "<pre class=\"commandLine\"> " . htmlspecialchars($command, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES, $encoding="UTF-8") . " </pre>\n<pre class=\"commandLine\"> " . htmlspecialchars($output, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES, $encoding="UTF-8") . " </pre>\n<hr />"; echo "<pre class=\"commandLine\"> " . htmlspecialchars($command, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES) . " </pre>\n<pre class=\"commandLine\"> " . htmlspecialchars($output, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES) . " </pre>\n<hr />";
} }
} }