Change log file from import.log to spoolnews.log for maintenance.php.

This commit is contained in:
Retro_Guy 2024-11-30 00:16:10 -07:00
parent 2eeb873a45
commit 3f8a32f129
1 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ if ($argv[1] != '-newsection') {
exit();
}
$logfile = $logdir . '/import.log';
$logfile = $logdir . '/spoolnews.log';
$lockfile = $lockdir . '/' . $config_name . '-spoolnews.lock';
$pid = file_get_contents($lockfile);
@ -303,9 +303,8 @@ function get_group_list()
function refill_group($group, $start)
{
global $spooldir, $config_dir, $remote_groups_array_file, $workpath, $CONFIG, $config_name, $path;
global $spooldir, $config_dir, $logfile, $remote_groups_array_file, $workpath, $CONFIG, $config_name, $path;
$logfile = $spooldir . '/log/import.log';
$workpath = $spooldir . "/";
$path = $workpath . "articles/";