Last active
August 29, 2015 14:19
-
-
Save rowild/e8c6e54b00e37a898eba to your computer and use it in GitHub Desktop.
TYPO3 - felogin -> redirect to previousely visited page
This file contains 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
<?php | |
// From: Newslist en - 25.4.2014 | |
// http://wiki.typo3.org/Felogin#Users_manual | |
// Add this line in my ext_localconf: | |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_confirmed'][] = 'tx_myextension->myfunction'; | |
// And in my class extension: | |
class tx_myextension extends { | |
public function myfunction() { | |
$my_new_url = "http://www.google.cat"; | |
header("Location $my_new_url"); | |
exit(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment