// 404 should return 404...
This commit is contained in:
1 parent
9ccc0f60f9
commit
858f55ef1f
1 file changed
+2
@@ -36,6 +36,8 @@ class PageNotFoundControllerCore extends FrontController
|
|||||||
*/
|
*/
|
||||||
public function initContent()
|
public function initContent()
|
||||||
{
|
{
|
||||||
|
header('HTTP/1.1 404 Not Found');
|
||||||
|
header('Status: 404 Not Found');
|
||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
$this->setTemplate(_PS_THEME_DIR_.'404.tpl');
|
$this->setTemplate(_PS_THEME_DIR_.'404.tpl');
|
||||||
|
|||||||
Reference in new issue
Block a user