浏览代码

Remove the redirect.

FusionPBX 4 年之前
父节点
当前提交
143e65968d
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      resources/check_auth.php

+ 0 - 9
resources/check_auth.php

@@ -294,15 +294,6 @@
 						unset($sql, $parameters, $result, $row);
 				}
 			}
-
-		//redirect the user
-			if (check_str($_REQUEST["rdr"]) !== 'n'){
-				$path = check_str($_POST["path"]);
-				if (isset($path) && !empty($path) && $path!="index2.php" && $path!="/install.php") {
-					header("Location: ".$path);
-					exit();
-				}
-			}
 	}
 
 //set the time zone