[pmwiki-users] Display error message when an include fails
jbit at ev1.net
Fri Jan 27 16:57:42 CST 2006
"Display error message when an include fails"
A writer would benefit from knowing that an include
is failing and would have great difficulty
diagnosing this without an error message. This makes
it easier for a writer to maintain a more robust web
page in accordance to PMWiki philosphy # 4. Support
collaborative maintenance of public web pages, and
# 5. Be easy to install, configure, and maintain.
Therefore the default should be "on".
Admins who do not want error messages could turn
this off. If they are smart enough to not need/use
an error message, then they are smart enough to
turn this off in the local/config.php file.
> > > where the "error=" parameter says what to display if
> > > the include fails.
> > I would hate to do this in every single include statement.
> > How about have displaying an include error message
> > option to turn OFF in the local/config.php?
> > # set $DisplayIncludeErrors to 'off' if you do not want
> > # an error message displayed when an include fails
> > # default value is "on"
> > #$DisplayIncludeErrors='off';
More information about the pmwiki-users