cyrax_02 Posted March 6, 2015 Share Posted March 6, 2015 Кто знает, какой скрипт (файл) запускается на стороне сервера при нажатии кнопки "Регистрация" на первом шаге регистрации ?Понятно, что начинается всё с корневого index.html, но проследить цепочку вызовов непосредственно до скрипта регистрации непросто... Link to comment Share on other sites More sharing options...
newbie Posted March 6, 2015 Share Posted March 6, 2015 Понятно, что начинается всё с корневого index.html, но проследить цепочку вызовов непосредственно до скрипта регистрации непросто... В адресной строке можно посмотреть./index.php?app=core&module=global§ion=register Соответственно смотрим файл /admin/applications/core/modules_public/global/register.php 1 Link to comment Share on other sites More sharing options...
siv1987 Posted March 6, 2015 Share Posted March 6, 2015 index.php?app={app}&module={module}§ion={section} /admin/applications/{app}/modules_public/{module}/{section}.php 1 Link to comment Share on other sites More sharing options...
cyrax_02 Posted March 6, 2015 Author Share Posted March 6, 2015 (edited) В общем, ответ на сабжевый вопрос будет таким: Файл: /admin/applications/core/modules_public/global/register.php: при загрузке первой страницы регистрации (шаг 1) вызывается метод public_core_global_register::registerForm()при загрузке второй страницы регистрации (шаг 2) вызывается метод public_core_global_register::_completeRegistrationSave() Edited March 6, 2015 by cyrax_02 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now