Add expire.log to log rotation in cron.php

This commit is contained in:
Retro_Guy 2020-12-25 01:46:13 -07:00
parent c46e9a3767
commit ac010e699c
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function log_rotate() {
global $logdir;
$rotate = filemtime($logdir.'/rotate');
if((time() - $rotate) > 86400) {
$log_files = array('nntp.log', 'spoolnews.log', 'nocem.log', 'newsportal.log');
$log_files = array('nntp.log', 'spoolnews.log', 'nocem.log', 'newsportal.log', 'expire.log');
foreach($log_files as $logfile) {
$logfile=$logdir.'/'.$logfile;
if(!is_file($logfile)) {