Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Hi all, got a problem with redirect in admin section.
When an user is logged, i want to redirect him to the page of the module i've created (example: /admin/myModule).
I've tried to do this in LeftAndMain using Director::redirect($Url_base. 'myModule'), but it doesn't work.
Thanks in advance
I've used this in _config.php...
Thanks so much Barry, but it doesn't work for me. I've also tried to set the $default_login_dest in Security.php, but it always redirects me to admin/.
I solved changing (in LeftAndMain) this line