X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp%2FMode.php;h=3e7b9f0d1679a0fa07a362c8393c785d0d1452e9;hb=d5373c583bc12d2104659aaf6386d2b9e28ec68d;hp=1087b08a053a2ece02640f61434179b16580ae51;hpb=24f8ee8e676abf4dd16916fd417562aca7bcbb9f;p=friendica.git diff --git a/src/App/Mode.php b/src/App/Mode.php index 1087b08a05..3e7b9f0d16 100644 --- a/src/App/Mode.php +++ b/src/App/Mode.php @@ -1,6 +1,6 @@ isBackend(); + $isBackend = $isBackend || in_array($args->getModuleName(), static::BACKEND_MODULES); $isMobile = $mobileDetect->isMobile(); $isTablet = $mobileDetect->isTablet(); $isAjax = strtolower($server['HTTP_X_REQUESTED_WITH'] ?? '') == 'xmlhttprequest';