// Fix 404 ErrorDocument in Tools::generateHtaccess()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13980 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1690,6 +1690,8 @@ FileETag INode MTime Size
|
|||||||
// In case the user hasn't rewrite mod enabled
|
// In case the user hasn't rewrite mod enabled
|
||||||
fwrite($write_fd, "#If rewrite mod isn't enabled\n");
|
fwrite($write_fd, "#If rewrite mod isn't enabled\n");
|
||||||
|
|
||||||
|
// Do not remove ($domains is already iterated upper)
|
||||||
|
reset($domains);
|
||||||
$domain = current($domains);
|
$domain = current($domains);
|
||||||
fwrite($write_fd, 'ErrorDocument 404 '.$domain[0]['physical']."index.php?controller=404\n\n");
|
fwrite($write_fd, 'ErrorDocument 404 '.$domain[0]['physical']."index.php?controller=404\n\n");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user