// Fix 404 img path on pagenotfoundcontroller

This commit is contained in:
Rémi Gaillard
2013-03-14 14:58:44 +01:00
parent 26f0608071
commit c7a4c4d84d
+1 -1
View File
@@ -41,7 +41,7 @@ class PageNotFoundControllerCore extends FrontController
if (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('png', 'jpg', 'gif')))
{
header('Content-Type: image/gif');
readfile(_PS_IMG_DIR_.'img/404.gif');
readfile(_PS_IMG_DIR_.'404.gif');
exit;
}
elseif (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('.js', 'css')))