From: Marcel Werk Date: Fri, 31 Jan 2020 17:26:18 +0000 (+0100) Subject: use global namespace for opcache functions to improve the usefulness of error messages X-Git-Tag: 5.2.2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d631fa8600737d7dc35fd117a1b81a683e66f9a2;p=GitHub%2FWoltLab%2FWCF.git use global namespace for opcache functions to improve the usefulness of error messages --- 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); } } }