X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp%2FMode.php;h=3e7b9f0d1679a0fa07a362c8393c785d0d1452e9;hb=d5373c583bc12d2104659aaf6386d2b9e28ec68d;hp=9f7a34a53eda466cd6c94d44cfdfed80a5cc3a56;hpb=ab83d0dd27e46e733ecb49f25789bfb318852ac7;p=friendica.git diff --git a/src/App/Mode.php b/src/App/Mode.php index 9f7a34a53e..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';