diff --git a/.htaccess b/.htaccess index 177f473..6b50941 100644 --- a/.htaccess +++ b/.htaccess @@ -10,6 +10,9 @@ Deny from all +ErrorDocument 404 /assets/error-404.html +ErrorDocument 500 /assets/error-500.html + RewriteEngine On RewriteCond %{REQUEST_URI} ^(.*)$ diff --git a/install.php b/install.php index 7329236..e7c9792 100644 --- a/install.php +++ b/install.php @@ -1100,6 +1100,9 @@ HTML; Deny from all +ErrorDocument 404 /assets/error-404.html +ErrorDocument 500 /assets/error-500.html + RewriteEngine On $baseClause