Created
June 9, 2013 21:19
-
-
Save proweb/5745265 to your computer and use it in GitHub Desktop.
How to redirect using the Joomla API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// joomla 2.5 | |
$app = JFactory::getApplication(); | |
$link = 'http://www.domain.com/'; | |
$msg = 'You have been redirected to domain.com'; | |
$app->redirect($link, $msg, $msgType='message'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment