From 4b7d0656f007b915e9710cc6bd18e0fa3a314cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=8F=8F?= <32321958+178146582@users.noreply.github.com> Date: Wed, 1 Aug 2018 10:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BF=AE=E5=A4=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controller/Admin/ConfigureController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controller/Admin/ConfigureController.class.php b/application/controller/Admin/ConfigureController.class.php index b778d3e..ff923ec 100644 --- a/application/controller/Admin/ConfigureController.class.php +++ b/application/controller/Admin/ConfigureController.class.php @@ -33,7 +33,7 @@ class ConfigureController extends Controller{ 'keywords' => configGet('keywords'), 'description' => configGet('description'), 'record' => configGet('record'), - 'footerinfo' => htmlspecialchars_decode(configGet('footerinfo')), + 'footerinfo' => str_replace(''','\'',htmlspecialchars_decode(configGet('footerinfo'))), 'username' => configGet('username'), 'password' => configGet('password'), 'level' => configGet('level'),