Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TYPO3 - felogin -> redirect to previousely visited page
<?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
You can’t perform that action at this time.