mirror of
https://github.com/LyLme/lylme_spage.git
synced 2024-11-17 22:38:03 +08:00
删除修饰符e
This commit is contained in:
parent
dc8665c442
commit
2698a939a7
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
$str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1');
|
||||
if(preg_match("/<url>(.+?)<\/url>/ies",$str,$matches)){
|
||||
if(preg_match("/<url>(.+?)<\/url>/is",$str,$matches)){
|
||||
$imgurl='http://cn.bing.com'.$matches[1];
|
||||
}
|
||||
if($imgurl){
|
||||
|
Loading…
Reference in New Issue
Block a user