X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=c69abf212748239dbb1cba3a5890eca8736426d4;hb=3c3c1798e399110cdf2e20b972c68df531082ac8;hp=91a5a0744622f934fdf92fc95c23523e90f8a1c4;hpb=3a52179393406723a88c1309416bbb3a86b953e8;p=friendica.git diff --git a/src/App.php b/src/App.php index 91a5a07446..c69abf2127 100644 --- a/src/App.php +++ b/src/App.php @@ -77,7 +77,6 @@ class App public $sourcename = ''; public $videowidth = 425; public $videoheight = 350; - public $force_max_items = 0; public $theme_events_in_profile = true; public $queue; @@ -448,7 +447,7 @@ class App Core\Worker::executeIfIdle(); } - if ($this->mode->isNormal()) { + if ($this->mode->isNormal() && !$this->mode->isBackend()) { $requester = HTTPSignature::getSigner('', $_SERVER); if (!empty($requester)) { Profile::addVisitorCookieForHandle($requester); @@ -456,7 +455,7 @@ class App } // ZRL - if (!empty($_GET['zrl']) && $this->mode->isNormal()) { + if (!empty($_GET['zrl']) && $this->mode->isNormal() && !$this->mode->isBackend()) { if (!local_user()) { // Only continue when the given profile link seems valid // Valid profile links contain a path with "/profile/" and no query parameters