mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
md
This commit is contained in:
@ -36,6 +36,10 @@
|
||||
### 小程序体验码
|
||||

|
||||
|
||||
### 应用商店无法连接错误修复(v2.0.0-2.1.0)
|
||||
链接: https://pan.baidu.com/s/1e6U5jWmERNn9U6OQmfG3iw 密码: 7es0
|
||||
|
||||
|
||||
### 基础信息
|
||||
* 演示地址:https://ask.shopxo.net/article/4
|
||||
* 安装教程:https://ask.shopxo.net/article/5
|
||||
|
||||
@ -205,13 +205,12 @@ class Qrcode
|
||||
}
|
||||
|
||||
// 格式校验,希望仅下载图片文件
|
||||
$arr = explode('?', $url);
|
||||
$ext_arr = MyConfig('ueditor.imageManagerAllowFiles');
|
||||
$len = strripos($arr[0], '.');
|
||||
if($len === false)
|
||||
{
|
||||
return DataReturn('url地址无效', -1);
|
||||
}
|
||||
$ext_arr = MyConfig('ueditor.imageManagerAllowFiles');
|
||||
$ext = mb_substr($arr[0], $len, null, 'utf-8');
|
||||
if(!in_array($ext, $ext_arr))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user