From 2b8317fb86a86421c7270291714ae9e4c9638ce2 Mon Sep 17 00:00:00 2001 From: nolanwhy Date: Sun, 5 Feb 2023 00:13:19 +0100 Subject: [PATCH] added placeholder thumbnail on games, changed .htaccess for apache users --- .htaccess | 7 +++++-- games.php | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 857d2b3..83a9bf4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,10 @@ #only if using apache -ErrorDocument 403 /error.php?code=403 -ErrorDocument 404 /error.php?code=404 +ErrorDocument 404 /error?err=404 +ErrorDocument 403 /error?err=403 +ErrorDocument 400 /error?err=400 +ErrorDocument 502 /error?err=502 +ErrorDocument 504 /error?err=504 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f diff --git a/games.php b/games.php index 2da7f82..fde6bdb 100644 --- a/games.php +++ b/games.php @@ -41,7 +41,7 @@ $getitstarted->header(); for ($i = 1; $i <= $x; $i++) { ?>
" style="text-decoration: none; text-align: left; margin-bottom: 9px;"> - " class="card-img-top rounded-top" alt=""> + " class="card-img-top rounded-top" alt="">