Make sure slash is in path in nocem.php if not in config.inc.php
This commit is contained in:
parent
efbdc422c6
commit
5264b38bd0
|
@ -20,10 +20,10 @@
|
||||||
putenv("GNUPGHOME=".$config_dir.".gnupg");
|
putenv("GNUPGHOME=".$config_dir.".gnupg");
|
||||||
$webserver_group=$CONFIG['webserver_user'];
|
$webserver_group=$CONFIG['webserver_user'];
|
||||||
$logfile=$logdir.'/nocem.log';
|
$logfile=$logdir.'/nocem.log';
|
||||||
@mkdir($spooldir."nocem/processed",0755,'recursive');
|
@mkdir($spooldir."/nocem/processed",0755,'recursive');
|
||||||
@mkdir($spooldir."nocem/failed",0755,'recursive');
|
@mkdir($spooldir."/nocem/failed",0755,'recursive');
|
||||||
|
|
||||||
$nocem_path=$spooldir."nocem/";
|
$nocem_path=$spooldir."/nocem/";
|
||||||
$messages=scandir($nocem_path);
|
$messages=scandir($nocem_path);
|
||||||
$begin="@@BEGIN NCM BODY";
|
$begin="@@BEGIN NCM BODY";
|
||||||
$end="@@END NCM BODY";
|
$end="@@END NCM BODY";
|
||||||
|
|
Loading…
Reference in New Issue