mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 11:20:25 +02:00
Issue #4270 Disable automatic WebP conversion in admin area.
This commit is contained in:
@@ -510,7 +510,7 @@ if(!e107::getConfig()->hasData())
|
||||
//DEPRECATED, BC, call e107::getPref/findPref() instead
|
||||
$pref = e107::getPref();
|
||||
|
||||
if(!empty($pref['thumb_to_webp']))
|
||||
if(e_ADMIN_AREA !== true && !empty($pref['thumb_to_webp']))
|
||||
{
|
||||
$tp->setConvertToWebP(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user