From bdb07061ed08aababf0fcb8722bab24dcc640e25 Mon Sep 17 00:00:00 2001 From: BD <51322242+bdwebnet@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:29:34 +0200 Subject: [PATCH] Fix error "Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /web/sogo-auth.php on line 63" --- data/web/sogo-auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/sogo-auth.php b/data/web/sogo-auth.php index 7ca5e4d9..40fff585 100644 --- a/data/web/sogo-auth.php +++ b/data/web/sogo-auth.php @@ -60,7 +60,7 @@ elseif (isset($_GET['login'])) { ':remote_addr' => ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR']) )); // redirect to sogo (sogo will get the correct credentials via nginx auth_request - header("Location: /SOGo/so/${login}"); + header("Location: /SOGo/so/{$login}"); exit; } }