diff --git a/.htaccess b/.htaccess index 5cbd1e8..3b89f24 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 654aca0..f92650d 100644 --- a/install.php +++ b/install.php @@ -1119,6 +1119,9 @@ HTML; Deny from all +ErrorDocument 404 /assets/error-404.html +ErrorDocument 500 /assets/error-500.html + RewriteEngine On $baseClause