27 $this->is_xhr = $request->isXmlHttpRequest();
28 $this->site_url = $config->wwwroot;
29 $this->current_url = $request->getCurrentURL();
42 if (
elgg_strpos($this->current_url, $this->site_url) !== 0) {
53 foreach ($patterns as $pattern) {
59 $this->session->set(
'last_forward_from', $this->current_url);
__construct(protected\ElggSession $session,\Elgg\Http\Request $request,\Elgg\Config $config)
Constructor.
setLastForwardFrom()
Capture the URL the user requested when they were redirected.
elgg_strlen()
Wrapper function for mb_strlen().
$config
Advanced site settings, debugging section.
Handles common tasks when redirecting a request.
elgg_strpos()
Wrapper function for mb_strpos().
elgg_substr()
Wrapper function for mb_substr().
if(isset($_COOKIE['elggperm'])) $session