[pmwiki-users] About max include error handling
V.Krishn
vkrishn at insteps.net
Fri May 7 16:04:31 CDT 2010
On Friday 07 May 2010 11:50:12 pm V.Krishn wrote:
> I think the present max include is set to 100.
> Is there way to tell pmwiki to throw me a custom error when max has
> reached, instead of huge list of Php error dumps.
> Like:
> Fatal error: Maximum function nesting level of '100' reached......
>
> I am presently developing in PHP 5.2.6.
>
> In such event I would want to set text like:
> "Error: Nesting level reached max.."
> which would then be placed as text by include calling directive.
Ok, I managed to stop the recursion by using a static variable.
Problem seems solved for now.
--
Regards,
V.Krishn
More information about the pmwiki-users
mailing list