Make sure article path is created if first post is local

This commit is contained in:
Retro_Guy 2021-02-09 22:34:48 -07:00
parent 2962cd1456
commit efbdc422c6
2 changed files with 3 additions and 0 deletions

View File

@ -1039,6 +1039,9 @@ $date_i,$mid_i,$references_i,$bytes_i,$lines_i,$xref_i) {
$local_groupfile=$spooldir."/".$section."/local_groups.txt";
$path=$spooldir."/articles/";
$grouppath = $path.preg_replace('/\./', '/', $nntp_group);
if(!is_dir($grouppath)) {
mkdir($grouppath, 0755, true);
}
$nocem_check="@@NCM";
$article_date=strtotime($date_i);
# Check if group exists. Open it if it does

Binary file not shown.