Discuz! X2.5 積分充值成功、支付寶支付到賬,但返回信息為 Access Denied,解決方案
支付寶充值後返回信息 Access Denied ,可以通過下面方法進行修改。
找到文件 source/class/discuz/discuz_application.php
查找代碼:
- $_GET['handlekey']= !empty($_GET['handlekey']) && preg_match('/^w+$/', $_GET['handlekey']) ? $_GET['handlekey'] : '';
改為:
- if(!(!empty($_GET['handlekey']) && preg_match('/^w+$/', $_GET['handlekey']))) {
- unset($_GET['handlekey']);
- }