From 309424d2c426c22b9a84d624beb470c4bc6b2b27 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Fri, 31 Jan 2025 20:09:18 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=AD=98=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/Utils.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Utils.php b/includes/Utils.php index dc58e5e..d00dd5e 100755 --- a/includes/Utils.php +++ b/includes/Utils.php @@ -218,6 +218,8 @@ class Utils { if (!$title) return false; + self::initCache(); + return self::$cache->getWithSetCallback( self::$cache->makeKey('title2slugurl', $title->getText()), self::$cache::TTL_MINUTE * 10,