Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Bugfix: unknown modules were throwing error about non existing templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsverkoyen committed Apr 25, 2012
1 parent 878f36b commit eda09c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion default_www/core/classes/action.php
Expand Up @@ -79,7 +79,8 @@ public function execute()
SpoonHTTP::setHeadersByCode(404);

// show the template
$this->tpl->display(PATH_WWW . '/core/layout/templates/error.tpl');
$this->tpl->assign('Page not found');
$this->tpl->display(PATH_WWW . '/modules/error/layout/templates/index.tpl');
exit();
}

Expand Down

0 comments on commit eda09c9

Please sign in to comment.