When i enter to the user restricted area , im redirect to the user login page ($this->response->redirect('login.php'));
but on login.php i couldn get the $_SERVER['HTTP_REFERER'] to redirect user after login.
When i enter to the user restricted area , im redirect to the user login page ($this->response->redirect('login.php'));
but on login.php i couldn get the $_SERVER['HTTP_REFERER'] to redirect user after login.