server/mods-available/monitor_core_module.inc.php | ●●●●● patch | view | raw | blame | history |
server/mods-available/monitor_core_module.inc.php
@@ -1226,7 +1226,7 @@ // 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