[pmwiki-users] Display error message when an include fails
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:
Add capability to display error message when an include fails.
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"
More information about the pmwiki-users