Commit 130cd42c authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 9c7f5631
...@@ -1226,7 +1226,7 @@ class monitor_core_module { ...@@ -1226,7 +1226,7 @@ class monitor_core_module {
// Getting the logfile content // Getting the logfile content
if($logfile != '') { if($logfile != '') {
$logfile = escapeshellcmd($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.'; $log = 'Logfile path error.';
} }
else else
......
Supports Markdown
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