Browse Source

Update index.php

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

3
controller/index.php

@ -101,9 +101,8 @@ function base64($url){ @@ -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);
}

Loading…
Cancel
Save