Skip to content

Commit 130cd42

Browse files
committed
1 parent 9c7f563 commit 130cd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/mods-available/monitor_core_module.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ function _getLogData($log){
12261226
// Getting the logfile content
12271227
if($logfile != '') {
12281228
$logfile = escapeshellcmd($logfile);
1229-
if(stristr($logfile, ';') or substr($logfile,0,9) != '/var/log/' or (stristr($logfile, '..')) {
1229+
if(stristr($logfile, ';') or substr($logfile,0,9) != '/var/log/' or stristr($logfile, '..')) {
12301230
$log = 'Logfile path error.';
12311231
}
12321232
else

0 commit comments

Comments
 (0)