From 0e8e88958d9f321ade4e0abfda3a3aad939db0ed Mon Sep 17 00:00:00 2001 From: Zetao Yang Date: Sat, 4 Nov 2017 22:09:16 +0700 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dredis=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=B8=85=E9=99=A4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/phpspider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 core/phpspider.php diff --git a/core/phpspider.php b/core/phpspider.php old mode 100644 new mode 100755 index a3e8113..c42d7b2 --- a/core/phpspider.php +++ b/core/phpspider.php @@ -38,7 +38,7 @@ class phpspider * 版本号 * @var string */ - const VERSION = '2.1.2'; + const VERSION = '2.1.3'; /** * 爬虫爬取每个网页的时间间隔,0表示不延时, 单位: 毫秒 @@ -2008,7 +2008,7 @@ public function check_cache() { foreach ($keys as $key) { - $key = str_replace($GLOBALS['config']['redis']['prefix'].":", "", $key); + $key = str_replace(self::$queue_config['prefix'].":", "", $key); queue::del($key); } }