Browse Source

Update index.php

pull/4/head
茁壮成长 4 years ago committed by GitHub
parent
commit
dd08d69b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      controller/index.php

3
controller/index.php

@ -101,8 +101,9 @@ function base64($url){ @@ -101,8 +101,9 @@ function base64($url){
$host = $urls['host'];
//获取端口
$port = empty( $urls['port'] ) ? '' : ':'.$urls['port'];
$dir = dirname($_SERVER['PHP_SELF']);
$new_url = $scheme.$host.$port;
$new_url = $scheme.$host.$port.$dir;
return base64_encode($new_url);
}

Loading…
Cancel
Save