1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-31 11:20:15 +02:00

Add Gif to allowed extensions

This commit is contained in:
trendschau
2024-02-13 12:50:43 +01:00
parent 91b460362a
commit 3e3d98a7a8
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -78,7 +78,7 @@ class Plugins
public static function getPremiumLicence($className)
{
$premiumlist = [
# '\Plugins\demo\demo' => 'BUSINESS'
'\Plugins\html\html' => 'MAKER'
];
if(isset($premiumList['className']))

View File

@@ -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;