diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-04-12 10:47:39 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-04-12 10:47:39 +0800 |
| commit | 3a962c3e638bb7b4e951601cede1ccb237829a6b (patch) | |
| tree | 6e74d114bb80c6cbdacd0e0e7bbb76ebfb2e55c6 /libs | |
| parent | 085fa0a512073d7bb519a390795f6325e6a6e77f (diff) | |
:pencil2: Perf: 细节优化
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/Contents.php | 2 |
1 files changed, 1 insertions, 1 deletions
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], '<br>对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使json友链功能', $text); + $text = str_replace($matches[0][0], '<br>对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使 json 友链功能', $text); return $text; } for ($j = 0; $j <= $dataLink; $j++) { |
