Bug #67 ยป returnclogfix.diff
usr/local/www/guiconfig.inc | ||
---|---|---|
631 | 631 | |
632 | 632 |
function return_clog($logfile, $tail, $grepfor = "", $grepinvert = "", $grepreverse = false) { |
633 | 633 |
global $g, $config; |
634 |
$sor = isset($config['syslog']['reverse']) ? "-r" : ""; |
|
635 |
$sor = isset($grepreverse) ? "-r" : ""; |
|
634 |
$reverse = isset($config['syslog']['reverse']); |
|
635 |
$reverse = $grepreverse ? !$reverse : $reverse; |
|
636 |
$sor = $reverse ? "-r" : ""; |
|
636 | 637 |
$logarr = ""; |
637 | 638 |
$grepline = " "; |
638 | 639 |
if(is_array($grepfor)) |