diff --git a/public_html/inc_functions.php b/public_html/inc_functions.php index 1756e2e095a5c88f8ace7dc89896173f9892358b..5b7af91830ee06936edd99d8f104b8f55a5400f0 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');