From 64017885558b9051efa78cd295ff21906568a0d9 Mon Sep 17 00:00:00 2001 From: LyLme Date: Wed, 23 Feb 2022 22:46:41 +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/cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/img/cron.php b/assets/img/cron.php index bb69e4e..da3767b 100644 --- a/assets/img/cron.php +++ b/assets/img/cron.php @@ -12,9 +12,9 @@ else{ $str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx='.$_GET['idx'].'&n=1'); } -if(preg_match("/(.+?)<\/url>/ies",$str,$matches)){ +if(preg_match("/(.+?)<\/url>/is",$str,$matches)){ -if(preg_match("/(.+?)<\/fullstartdate>/ies",$str,$cdata)){ +if(preg_match("/(.+?)<\/fullstartdate>/is",$str,$cdata)){ } $crdate = date('Y年m月d日 H:i', strtotime($cdata[1]));