From 6dcae5b7fdcb18b10ef664cfa9b70a08511d02e5 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 15 Sep 2023 14:26:56 +0200 Subject: [PATCH] fix for php 8.2 compatibility --- public_html/inc_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/inc_functions.php b/public_html/inc_functions.php index 1756e2e..5b7af91 100644 --- a/public_html/inc_functions.php +++ b/public_html/inc_functions.php @@ -25,7 +25,7 @@ function _checkAuth($sMySecret, $iMaxAge=60){ $sGotReq=$_SERVER['REQUEST_URI']; - $sMyData="${sGotMethod}\n${sGotReq}\n${sGotDate}\n"; + $sMyData="{$sGotMethod}\n{$sGotReq}\n{$sGotDate}\n"; $sMyHash= base64_encode(hash_hmac("sha1", $sMyData, $sMySecret)); _wd('Hash: '.$sGotHash.' -- from header'); -- GitLab