Package: pnp4nagios-web
Version: 0.6.16-1
Severity: grave
Justification: renders package unusable


Hi.

The support for /etc/pnp4nagios/templates.d seems to be buggy:
When /etc/pnp4nagios/templates.d is empty (in the sense of no subdirs),
all I get from pnp4nagios is:
>Please check the documentation for information about the following error.
>
>Invalid argument supplied for foreach()
>file [line]:
>
>/etc/pnp4nagios/config.php [234]:

Guess the reason is that the glob("/etc/pnp4nagios/templates.d/*", GLOB_ONLYDIR)
returns nothing and then one has a syntax error?!


Adding a empty dir or removing the foreach in conf.php solves the issue.


Cheers,
Chris.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to