删除修饰符e

This commit is contained in:
LyLme 2022-02-23 22:46:41 +08:00
parent 4fc2dce53f
commit 6401788555
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ else{
$str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx='.$_GET['idx'].'&n=1');
}
if(preg_match("/<url>(.+?)<\/url>/ies",$str,$matches)){
if(preg_match("/<url>(.+?)<\/url>/is",$str,$matches)){
if(preg_match("/<fullstartdate>(.+?)<\/fullstartdate>/ies",$str,$cdata)){
if(preg_match("/<fullstartdate>(.+?)<\/fullstartdate>/is",$str,$cdata)){
}
$crdate = date('Y年m月d日 H:i', strtotime($cdata[1]));