From d631fa8600737d7dc35fd117a1b81a683e66f9a2 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 31 Jan 2020 18:26:18 +0100 Subject: [PATCH] use global namespace for opcache functions to improve the usefulness of error messages --- wcfsetup/install/files/lib/system/WCF.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 0e28b1aeb8..7c33c39aa2 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -1001,10 +1001,10 @@ class WCF { if (self::$zendOpcacheEnabled) { if (empty($script)) { - opcache_reset(); + \opcache_reset(); } else { - opcache_invalidate($script, true); + \opcache_invalidate($script, true); } } } -- 2.20.1