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