Sfoglia il codice sorgente

更新 'tm/lib/Controller/WeixinJsSDK.class.php'

rabin 7 anni fa
parent
commit
c6fec8c5ae
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      tm/lib/Controller/WeixinJsSDK.class.php

+ 3 - 3
tm/lib/Controller/WeixinJsSDK.class.php

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