Révision 7be297a2
Ajouté par Matt Smith il y a presque 10 ans
usr/local/www/guiconfig.inc | ||
---|---|---|
595 | 595 |
$grepline .= " | /usr/bin/egrep " . escapeshellarg(implode("|", $grepfor)); |
596 | 596 |
if(is_array($grepinvert)) |
597 | 597 |
$grepline .= " | /usr/bin/egrep -v " . escapeshellarg(implode("|", $grepinvert)); |
598 |
if(file_exists($logfile) && filesize($logfile) == 0) { |
|
598 |
if (is_dir($logfile)) { |
|
599 |
$logarr = array("File $logfile is a directory."); |
|
600 |
} elseif(file_exists($logfile) && filesize($logfile) == 0) { |
|
599 | 601 |
$logarr = array("Log file started."); |
600 | 602 |
} else { |
601 | 603 |
if($config['system']['disablesyslogclog']) { |
Formats disponibles : Unified diff
Fix core dump on viewing invalid package log