// 404 should return 404...

This commit is contained in:
rGaillard
2012-08-21 09:18:00 +00:00
parent afeef9e6f3
commit 6970e0e4e8
@@ -36,6 +36,8 @@ class PageNotFoundControllerCore extends FrontController
*/
public function initContent()
{
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
parent::initContent();
$this->setTemplate(_PS_THEME_DIR_.'404.tpl');