|
@@ -44,11 +44,11 @@ class WeixinJsSDK extends Controller {
|
|
if ($url == null) {
|
|
if ($url == null) {
|
|
$url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
|
|
$url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
|
|
} else {
|
|
} else {
|
|
- //$url = htmlspecialchars_decode ( $url );
|
|
|
|
|
|
+ $url = htmlspecialchars_decode ( $url );
|
|
}
|
|
}
|
|
|
|
|
|
- $url = explode('?', $url);
|
|
|
|
- $url = $url[0];
|
|
|
|
|
|
+ //$url = explode('?', $url);
|
|
|
|
+ //$url = $url[0];
|
|
|
|
|
|
$timestamp = time ();
|
|
$timestamp = time ();
|
|
$nonceStr = $this->createNonceStr ();
|
|
$nonceStr = $this->createNonceStr ();
|