浏览代码

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

rabin 7 年之前
父节点
当前提交
c6fec8c5ae
共有 1 个文件被更改,包括 3 次插入3 次删除
  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 ();