Make sure slash is in path in nocem.php if not in config.inc.php

This commit is contained in:
Retro_Guy 2021-02-11 18:04:13 -07:00
parent efbdc422c6
commit 5264b38bd0
1 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,10 @@
putenv("GNUPGHOME=".$config_dir.".gnupg");
$webserver_group=$CONFIG['webserver_user'];
$logfile=$logdir.'/nocem.log';
@mkdir($spooldir."nocem/processed",0755,'recursive');
@mkdir($spooldir."nocem/failed",0755,'recursive');
@mkdir($spooldir."/nocem/processed",0755,'recursive');
@mkdir($spooldir."/nocem/failed",0755,'recursive');
$nocem_path=$spooldir."nocem/";
$nocem_path=$spooldir."/nocem/";
$messages=scandir($nocem_path);
$begin="@@BEGIN NCM BODY";
$end="@@END NCM BODY";