dimalepel Posted December 11, 2014 Report Share Posted December 11, 2014 Не нашел подходящей темы-не судите строго. Как после регистрации перебросить пользователя на страницу с текстом благодарности? Спасибо. Quote Link to post Share on other sites
Noxter Posted December 11, 2014 Report Share Posted December 11, 2014 Файл view/RegisterView.php замените: if(!empty($_SESSION['last_visited_page'])) header('Location: '.$_SESSION['last_visited_page']); else header('Location: '.$this->config->root_url); на вот этот кусок кода: header('Location: http://google.com.ua'); Соответственно http://google.com.ua поменяйте на нужную ссылку. Quote Link to post Share on other sites
Jekas Posted December 11, 2014 Report Share Posted December 11, 2014 используйте ajax и все Quote Link to post Share on other sites
Antonioni Posted January 4, 2017 Report Share Posted January 4, 2017 (edited) Изменить в LoginView if (!empty($_SESSION['last_visited_page'])) header('Location: ' . $_SESSION['last_visited_page']); else header('Location: ' . $this->config->root_url . '/user'); Edited January 4, 2017 by Antonioni Quote Link to post Share on other sites
mishanya Posted January 4, 2017 Report Share Posted January 4, 2017 Изменить в LoginView... за регистрацию отвечает не этот файл. тему хоть бы почитали. там уже предложено решение в правильном файле Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.