Commit 130cd42c authored by tbrehm's avatar tbrehm

No commit message

No commit message
parent 9c7f5631
......@@ -1226,7 +1226,7 @@ class monitor_core_module {
// Getting the logfile content
if($logfile != '') {
$logfile = escapeshellcmd($logfile);
if(stristr($logfile, ';') or substr($logfile,0,9) != '/var/log/' or (stristr($logfile, '..')) {
if(stristr($logfile, ';') or substr($logfile,0,9) != '/var/log/' or stristr($logfile, '..')) {
$log = 'Logfile path error.';
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment