From cd149919359e07ebf9161e3ec23860dab20a4419 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Wed, 21 Jun 2017 15:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=B5=8B=E8=AF=95=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9D=99=E6=80=81=E9=93=BE=E6=8E=A5=E5=90=8E?= =?UTF-8?q?=E6=9B=B4=E6=96=B0image=E7=9A=84src?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index c4f84b92..8fab5f90 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -127,6 +127,7 @@ class Welcome extends CI_Controller { foreach ($img_list as $img) { $img_src = $img->getAttribute('src'); $img_src = $this->check_url($img_src); + $img->setAttribute('src', $img_src); } $information->ic_content = $htm_doc->saveHTML();