Change log file from import.log to spoolnews.log for maintenance.php.
This commit is contained in:
parent
2eeb873a45
commit
3f8a32f129
|
@ -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/";
|
||||
|
||||
|
|
Loading…
Reference in New Issue