From: Tim Düsterhus Date: Fri, 23 Oct 2020 10:49:54 +0000 (+0200) Subject: Whitelist `get_class` in enterprise mode X-Git-Tag: 5.3.0_RC_3~4^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b0524dcc0f5285184d2d82b551aca5cd9d4323f;p=GitHub%2FWoltLab%2FWCF.git Whitelist `get_class` in enterprise mode --- diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index faa8ab4c0e..406aa9ae83 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -67,6 +67,7 @@ class TemplateScriptingCompiler { 'floatval', 'floor', 'function_exists', + 'get_class', 'gmdate', 'hash', 'htmlspecialchars',