From 08ff0bdb3df90521bf7f0abf3f0b88f8efb04c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20J=2E=20M=C3=BCller?= Date: Tue, 11 Jun 2024 15:54:14 +0200 Subject: [PATCH] fix incompatibility with php8 --- requesthandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requesthandler.php b/requesthandler.php index 5b921bf..305f5fa 100644 --- a/requesthandler.php +++ b/requesthandler.php @@ -20,8 +20,8 @@ ob_start(); set_exception_handler('exception_handler'); -if(isset($_SERVER['PHP_AUTH_USER'])) { - $active_user = $user_dir->get_user_by_uid($_SERVER['PHP_AUTH_USER']); +if(isset($_SERVER['AUTHENTICATE_UID'])) { + $active_user = $user_dir->get_user_by_uid($_SERVER['AUTHENTICATE_UID']); } else { throw new Exception("Not logged in."); }