tbrehm
2009-03-04 130cd42cecb6f64da62064e07daab3c05952f047

1 files modified
2 ■■■ changed files
server/mods-available/monitor_core_module.inc.php 2 ●●● 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