1
0
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:
Cameron
2020-12-09 11:22:03 -08:00
parent fb575c257c
commit ddb9c801af
3 changed files with 7 additions and 2 deletions

View File

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