use Exception;
use Friendica\App\Arguments;
use Friendica\App\BaseURL;
-use Friendica\App\Authentication;
+use Friendica\Security\Authentication;
use Friendica\Core\Config\Cache;
use Friendica\Core\Config\IConfig;
use Friendica\Core\PConfig\IPConfig;
public $sourcename = '';
public $videowidth = 425;
public $videoheight = 350;
- public $force_max_items = 0;
public $theme_events_in_profile = true;
public $queue;
Core\Worker::executeIfIdle();
}
- if ($this->mode->isNormal()) {
+ if ($this->mode->isNormal() && !$this->mode->isBackend()) {
$requester = HTTPSignature::getSigner('', $_SERVER);
if (!empty($requester)) {
Profile::addVisitorCookieForHandle($requester);
}
// 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