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