Skip to content

Commit 0227c39

Browse files
author
任旺
committed
修复5.3不支持的语法
1 parent 52d4760 commit 0227c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Qiniu/Processing/ImageUrlBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ protected function isUrl($url)
261261
$urlArr = parse_url($url);
262262

263263
return $urlArr['scheme']
264-
&& in_array($urlArr['scheme'], ['http', 'https'])
264+
&& in_array($urlArr['scheme'], array('http', 'https'))
265265
&& $urlArr['host']
266266
&& $urlArr['path'];
267267
}

0 commit comments

Comments
 (0)