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){