Subject: | Apache::Reload fails outside of mod_perl environment |
Hello
Two bugs:
1) minor, but undocumented
Show quoted text
> perl -MApache::Reload -e 'Apache::Reload::handler();'
2) if handler is called outside of MP(without request object) then it defaults 'ReloadAll' value to off. This breaks functionality in not mod_perl apps.
Both glitches disappear if I change line 68 to:
if ((ref($r) && (lc($r->dir_config("ReloadAll") || 'on') eq 'on')) || !ref($r)) {
Best regards,
Ruslan.