|
|
|
Environment:
|
Ubuntu running on a dell inspiron
|
|
Hi
I am currently using ldap authentication for login. But after the page is authenticated i would like to redirect it to a different URL other than the course page. How can i do this. Please suggest.
Thanks,
Harsha
|
|
Description
|
Hi
I am currently using ldap authentication for login. But after the page is authenticated i would like to redirect it to a different URL other than the course page. How can i do this. Please suggest.
Thanks,
Harsha |
Show » |
|
$urltogo = 'YOUR URL HERE';
Replace "YOUR URL HERE" with the URL you want the user redirected to. If you want the user redirected to a place within your Moodle, you can use:
$CFG->wwwroot . '/FOLDER TO REDIRECT TO/'
So...
$urltogo = $CFG->wwwroot . '/FOLDER TO REDIRECT TO/';