From 60a8c0ff3854658a5daa84e878ad000c69557a7d Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 10 Jul 2017 11:37:14 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E8=A1=8C=E4=B8=BA=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/hook/FilterView.php | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/extend/hook/FilterView.php b/extend/hook/FilterView.php index c56bd0cfa..9527cf969 100644 --- a/extend/hook/FilterView.php +++ b/extend/hook/FilterView.php @@ -57,17 +57,19 @@ class FilterView { if (($key = sysconf('tongji_baidu_key'))) { $script = << +\n + +\n\n SCRIPT; - $params = preg_replace('||i', "{$script}\n ", $params); + $params = preg_replace('||i', "{$script}", $params); } }