diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php index d2e42a68abf3d096661409bfee08bc648ba9d786..45df8a250bb3b713c3f43835c52c8a8bf070b6c4 100644 --- a/server/mods-available/monitor_core_module.inc.php +++ b/server/mods-available/monitor_core_module.inc.php @@ -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