From dc985eb0638d0d848b83eeb3294afad4c839c9a3 Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Wed, 18 Feb 2026 15:03:13 +0100 Subject: [PATCH 1/3] comment out authentication directives in .htaccess for testing purposes --- .htaccess | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.htaccess b/.htaccess index 078817a..8ca9877 100755 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,9 @@ - AuthType Basic - AuthName "Geschützter Bereich" - AuthUserFile /FSST/Website/.htpasswd - Require valid-user - - # .htpasswd vor Auslieferung schützen - - Require all denied - + # AuthType Basic + # AuthName "Geschützter Bereich" + # AuthUserFile /FSST/Website/.htpasswd + # Require valid-user +# + # # .htpasswd vor Auslieferung schützen + # + # Require all denied + # From 1fb66ce0a11da33efb3c36ad28594f43df392e71 Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Wed, 18 Feb 2026 15:56:40 +0100 Subject: [PATCH 2/3] enable basic authentication in .htaccess and restrict access to .htpasswd file --- .htaccess | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.htaccess b/.htaccess index 8ca9877..71063ed 100755 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,9 @@ - # AuthType Basic - # AuthName "Geschützter Bereich" - # AuthUserFile /FSST/Website/.htpasswd - # Require valid-user -# - # # .htpasswd vor Auslieferung schützen - # - # Require all denied - # + AuthType Basic + AuthName "Geschützter Bereich" + AuthUserFile /FSST/Website/.htpasswd + Require valid-user + + # .htpasswd vor Auslieferung schützen + + Require all denied + From f9b096cbebc8ec3196d63631967cdc88e2992889 Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Wed, 18 Feb 2026 16:21:42 +0100 Subject: [PATCH 3/3] add bootstrap file for centralized error handling and session management; update wishlist page with category-based product display --- assets/icons/wishlist.svg | 4 ++ header.php | 11 ++--- index.php | 3 +- lib/bootstrap.php | 12 +++++ style.css | 6 +++ wunschliste.php | 94 ++++++++++++++++++++++++++++++++++++++- 6 files changed, 122 insertions(+), 8 deletions(-) create mode 100644 assets/icons/wishlist.svg create mode 100644 lib/bootstrap.php diff --git a/assets/icons/wishlist.svg b/assets/icons/wishlist.svg new file mode 100644 index 0000000..24d7cca --- /dev/null +++ b/assets/icons/wishlist.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/header.php b/header.php index 22d58be..f92e92a 100644 --- a/header.php +++ b/header.php @@ -33,9 +33,6 @@ Home - @@ -46,13 +43,17 @@