Jump to content

Recommended Posts

Posted

Hi,

I'm using the delayed output method on a site I'm building, so I have this on my config.php file:

$config->prependTemplateFile = './_init.php';
$config->appendTemplateFile = './_footer.php';

This approach is working great but I'm now facing a problem with error pages, in particular, with the errors/500.html page. I need to find a way to stop the appending and prepending of the above files to the 500.html file.

This is easy enough to do when there are templates involved, like in the following example:

if(!$page->is("template=rss"))

However, how do I exclude the 500.html when there's no template associated with it?

Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...