Make sure article path is created if first post is local
This commit is contained in:
parent
2962cd1456
commit
efbdc422c6
|
@ -1039,6 +1039,9 @@ $date_i,$mid_i,$references_i,$bytes_i,$lines_i,$xref_i) {
|
||||||
$local_groupfile=$spooldir."/".$section."/local_groups.txt";
|
$local_groupfile=$spooldir."/".$section."/local_groups.txt";
|
||||||
$path=$spooldir."/articles/";
|
$path=$spooldir."/articles/";
|
||||||
$grouppath = $path.preg_replace('/\./', '/', $nntp_group);
|
$grouppath = $path.preg_replace('/\./', '/', $nntp_group);
|
||||||
|
if(!is_dir($grouppath)) {
|
||||||
|
mkdir($grouppath, 0755, true);
|
||||||
|
}
|
||||||
$nocem_check="@@NCM";
|
$nocem_check="@@NCM";
|
||||||
$article_date=strtotime($date_i);
|
$article_date=strtotime($date_i);
|
||||||
# Check if group exists. Open it if it does
|
# Check if group exists. Open it if it does
|
||||||
|
|
BIN
latest.zip
BIN
latest.zip
Binary file not shown.
Loading…
Reference in New Issue