From 2698a939a74a954e7b4b9d9f680ce702f2c07632 Mon Sep 17 00:00:00 2001 From: LyLme Date: Wed, 23 Feb 2022 22:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BF=AE=E9=A5=B0=E7=AC=A6e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/img/bing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/img/bing.php b/assets/img/bing.php index 7f4c930..e4e6837 100644 --- a/assets/img/bing.php +++ b/assets/img/bing.php @@ -6,7 +6,7 @@ */ $str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1'); -if(preg_match("/(.+?)<\/url>/ies",$str,$matches)){ +if(preg_match("/(.+?)<\/url>/is",$str,$matches)){ $imgurl='http://cn.bing.com'.$matches[1]; } if($imgurl){