[pmwiki-users] Display error message when an include fails
JB
jbit at ev1.net
Tue Jan 31 17:00:33 CST 2006
Patrick R. Michaud wrote:
> One other possibility is that we have (:include:) honor the
> setting of $EnablePageListProtect, so that it keeps quiet
> if someone attempts to include a read-only page. But even
> in this case, the default out-of-the-box configuration would
> end up being "display nothing".
Can we at least get it so an admin could turn this on?
Here it is rearranged:
http://www.pmwiki.org/wiki/PITS/00652
Add capability to display error message when an include fails.
Something like:
Include failure: "(:include PageName:)"
check to see if the page exists and that you
have the proper access/password to it.
Admins could turn this on in the local/config.php file.
# set $DisplayIncludeErrors to 'on' if you want
# an error message displayed when an include fails
# default value is "off"
#$DisplayIncludeErrors='on';
More information about the pmwiki-users
mailing list