瀏覽代碼

Fix error "Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /web/sogo-auth.php on line 63"

BD 2 年之前
父節點
當前提交
bdb07061ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/web/sogo-auth.php

+ 1 - 1
data/web/sogo-auth.php

@@ -60,7 +60,7 @@ elseif (isset($_GET['login'])) {
           ':remote_addr' => ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR'])
           ':remote_addr' => ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR'])
         ));
         ));
         // redirect to sogo (sogo will get the correct credentials via nginx auth_request
         // redirect to sogo (sogo will get the correct credentials via nginx auth_request
-        header("Location: /SOGo/so/${login}");
+        header("Location: /SOGo/so/{$login}");
         exit;
         exit;
       }
       }
     }
     }