Fix syntax error

This commit is contained in:
jim-p 2014-06-17 21:37:17 -04:00
parent 2b641a08ab
commit 56bd203593

View File

@ -614,7 +614,7 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert
$grepline .= " | /usr/bin/egrep -v " . escapeshellarg(implode("|", $grepinvert));
if (is_dir($logfile)) {
$logarr = array("File $logfile is a directory.");
} elsif(file_exists($logfile) && filesize($logfile) == 0) {
} elseif (file_exists($logfile) && filesize($logfile) == 0) {
$logarr = array("Log file started.");
} else {
if($config['system']['disablesyslogclog']) {