Remove faq from links.conf. Add newsgroup name to 'other' error log output in spoolnews.php.
This commit is contained in:
parent
fb33f414fc
commit
adbd795a8f
|
@ -4,4 +4,4 @@ mail:/spoolnews/mail.php
|
||||||
files:/spoolnews/files.php
|
files:/spoolnews/files.php
|
||||||
register:/common/register.php
|
register:/common/register.php
|
||||||
nodelist:/common/nodelist.php
|
nodelist:/common/nodelist.php
|
||||||
faq:/common/faq.txt
|
#faq:/common/faq.txt
|
||||||
|
|
|
@ -286,7 +286,7 @@ function get_articles($ns, $group)
|
||||||
$response = line_read($ns);
|
$response = line_read($ns);
|
||||||
if (strcmp(substr($response, 0, 3), "220") != 0) {
|
if (strcmp(substr($response, 0, 3), "220") != 0) {
|
||||||
echo "\n" . $response;
|
echo "\n" . $response;
|
||||||
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " " . $response, FILE_APPEND);
|
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " ".$group." " . $response, FILE_APPEND);
|
||||||
$article ++;
|
$article ++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue