Whitelist `basename` in enterprise mode
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 23 Mar 2022 08:10:40 +0000 (09:10 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 23 Mar 2022 08:10:40 +0000 (09:10 +0100)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 9002d285889481ee58f422f3200bb5faed214f7a..42f0fb5b53d12b54544cf1a4deea8f209331d210 100644 (file)
@@ -67,6 +67,7 @@ class TemplateScriptingCompiler
         'array_values',
         'base64_decode',
         'base64_encode',
+        'basename',
         'ceil',
         'concat',
         'constant',