Hello Peeps.
I am working on a new Crew Center. I have renamed the Profile Module as Dashboard. My frontpage_main.php looks like this
\<?php if(!defined('IN\_PHPVMS') && IN\_PHPVMS !== true) { die(); } ?\> \<?php if(Auth::LoggedIn()) { header('Location:'.SITE\_URL.'/dashboard'); } else { header('Location:'.SITE\_URL.'/login'); } ?\>
Now after I log in it still redirects me to Profile Module. I want it to be redirected to Dashboard Module as http://crew.siteurl.com/dashboard. I tried to dig deeper but was afraid to mess up. So any leads or fixes folks?
Sincerely,
Aaryan Kapoor