diff --git a/controller/index.php b/controller/index.php
index 35e6251..aa4a93f 100644
--- a/controller/index.php
+++ b/controller/index.php
@@ -101,9 +101,8 @@ function base64($url){
     $host = $urls['host'];
     //获取端口
     $port = empty( $urls['port'] ) ? '' : ':'.$urls['port'];
-    $dir = dirname($_SERVER['PHP_SELF']);
 
-    $new_url = $scheme.$host.$port.$dir;
+    $new_url = $scheme.$host.$port;
     return base64_encode($new_url);
 }