ty0716 Posted July 10, 2015 Report Posted July 10, 2015 I need to do: when user access our website directly to redirect dashboard pages. So.which controller function use for show website index page? Then i can check this visitor whether or not login。To redirect "http://domain//client/". I can edit theme file: 'structure.pdt' to this. but this not a good way. <?php if($_SERVER['REQUEST_URI']=='/'){header('Location: http://blesta.domain.com/client/');}?> And which constant or variable use for echo current website domain?
0 ty0716 Posted July 10, 2015 Author Report Posted July 10, 2015 On 7/10/2015 at 3:40 AM, naja7host said: Just uninstall the cms plugin . And which constant or variable use for echo current website domain?
0 Michael Posted July 10, 2015 Report Posted July 10, 2015 If you uninstall the portal plugin: settings > company > plugins > installed > portal > un-install and it will take you to the login / dashboard (if logged in).
Question
ty0716
I need to do: when user access our website directly to redirect dashboard pages.
So.which controller function use for show website index page?
Then i can check this visitor whether or not login。To redirect "http://domain//client/".
I can edit theme file: 'structure.pdt' to this. but this not a good way.
And which constant or variable use for echo current website domain?
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now