From 3a962c3e638bb7b4e951601cede1ccb237829a6b Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sun, 12 Apr 2020 10:47:39 +0800 Subject: =?UTF-8?q?:pencil2:=20Perf:=20=E7=BB=86=E8=8A=82=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/Contents.php b/libs/Contents.php index 45b8f03..31f740f 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -92,7 +92,7 @@ class Contents if (!$dataLink) return $text; //普通文章别匹配! $http = Typecho_Http_Client::get(); if (false == $http) { - $text = str_replace($matches[0][0], '
对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使json友链功能', $text); + $text = str_replace($matches[0][0], '
对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使 json 友链功能', $text); return $text; } for ($j = 0; $j <= $dataLink; $j++) { -- cgit v1.2.3