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:
@@ -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;
|
||||
|
||||
|
@@ -78,7 +78,7 @@ class Plugins
|
||||
public static function getPremiumLicence($className)
|
||||
{
|
||||
$premiumlist = [
|
||||
# '\Plugins\demo\demo' => 'BUSINESS'
|
||||
'\Plugins\html\html' => 'MAKER'
|
||||
];
|
||||
|
||||
if(isset($premiumList['className']))
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user