From 3e3d98a7a8c939234299ba22f2fbf5d2b21d64d0 Mon Sep 17 00:00:00 2001 From: trendschau Date: Tue, 13 Feb 2024 12:50:43 +0100 Subject: [PATCH] Add Gif to allowed extensions --- system/typemill/Models/Media.php | 2 +- system/typemill/Static/Plugins.php | 2 +- system/typemill/system.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/typemill/Models/Media.php b/system/typemill/Models/Media.php index 75a8505..1cfe5b8 100644 --- a/system/typemill/Models/Media.php +++ b/system/typemill/Models/Media.php @@ -24,7 +24,7 @@ class Media protected $filedata = false; - protected $allowedExtensions = ['png' => true, 'jpg' => true, 'jpeg' => true, 'webp' => true]; + protected $allowedExtensions = ['png' => true, 'jpg' => true, 'jpeg' => true, 'webp' => true, 'gif' => true]; protected $animated = false; diff --git a/system/typemill/Static/Plugins.php b/system/typemill/Static/Plugins.php index 59fc798..fd12ac9 100644 --- a/system/typemill/Static/Plugins.php +++ b/system/typemill/Static/Plugins.php @@ -78,7 +78,7 @@ class Plugins public static function getPremiumLicence($className) { $premiumlist = [ - # '\Plugins\demo\demo' => 'BUSINESS' + '\Plugins\html\html' => 'MAKER' ]; if(isset($premiumList['className'])) diff --git a/system/typemill/system.php b/system/typemill/system.php index ba0919e..4dac56f 100644 --- a/system/typemill/system.php +++ b/system/typemill/system.php @@ -180,7 +180,7 @@ foreach($plugins as $plugin) { if(!$settings['license'] OR !isset($settings['license'][$PluginLicence])) { - \Typemill\Static\Helper\addLogEntry('No License: ' . $pluginName); +# \Typemill\Static\Helpers\addLogEntry('No License: ' . $pluginName); if($pluginSettings[$pluginName]['active']) { $pluginSettings[$pluginName]['active'] = false;