Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Using template controller to create a 404 error page
  • I'm using the Controller_Template for my app but I can't figure out a way to send a 404 status to the template. Is this possible?
  • As mentioned on IRC:
    $this->response->status = 404;
    

    You could have checked the default welcome controller, it contains an action_404 too... :-)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion