ソースを参照

Change login destination type url to text

FusionPBX 2 年 前
コミット
f0d983fe11
1 ファイル変更2 行追加2 行削除
  1. 2 2
      resources/check_auth.php

+ 2 - 2
resources/check_auth.php

@@ -84,8 +84,8 @@
 					}
 					header("Location: ".$redirect_path);
 				}
-				elseif (isset($_SESSION['login']['destination']['url'])) {
-					header("Location: ".$_SESSION['login']['destination']['url']);
+				elseif (isset($_SESSION['login']['destination']['text'])) {
+					header("Location: ".$_SESSION['login']['destination']['text']);
 				}
 				elseif (file_exists($_SERVER["PROJECT_ROOT"]."/core/dashboard/app_config.php")) {
 					header("Location: ".PROJECT_PATH."/core/dashboard/");