From 1c4932183082baa639e6acdc73c94ade5250ddb0 Mon Sep 17 00:00:00 2001 From: Thomas Kolmans Date: Sat, 9 Oct 2021 23:43:50 +0200 Subject: [PATCH] Update Template.php --- lib/template/Template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/template/Template.php b/lib/template/Template.php index 7c61b3b..5667309 100644 --- a/lib/template/Template.php +++ b/lib/template/Template.php @@ -72,11 +72,11 @@ public function saveContent($content){ return $this; } - public function getAllowedExtensionsForTags(){ + public static function getAllowedExtensionsForTags(){ return Cleverload::getConfig("extensions_template_tags"); } - - public function getAllowedExtensionsForPlugins(){ + + public static function getAllowedExtensionsForPlugins(){ return Cleverload::getConfig("extension_template_plugin"); } @@ -131,4 +131,4 @@ public function load(){ return $templateLoader->execute(); } } -} \ No newline at end of file +}