Haagentus commited on
Commit
7d7e9fe
·
1 Parent(s): fbfdbc3

Update index.php

Browse files
Files changed (1) hide show
  1. index.php +2 -2
index.php CHANGED
@@ -2,5 +2,5 @@
2
  date_default_timezone_set("Asia/Shanghai");
3
 
4
  $host = $_SERVER ['HTTP_HOST'];
5
- $uri = str_ireplace("/onedrive","",$_SERVER["REQUEST_URI"]);
6
- echo $uri;
 
2
  date_default_timezone_set("Asia/Shanghai");
3
 
4
  $host = $_SERVER ['HTTP_HOST'];
5
+ $uri = $_GET['uri'];
6
+ header("location:https://a.b.com/".$uri);