Project

General

Profile

Bug #22434 ยป bug_14078.diff

Administrator Admin, 2010-10-01 10:07

View differences:

ChangeLog.local (Arbeitskopie)
2010-10-01 Michael Birchler <mbirchler@snowflake.ch>
* Backport #14078: absRefPrefix => wrong link in reset email
2010-09-06 Dmitry Dulepov <ddulepov@snowflake.ch>
* Fixed memory leaks in indexed search (Backend module)
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (Arbeitskopie)
// send hashlink to user
$this->conf['linkPrefix'] = -1;
$isAbsRelPrefix = !empty($GLOBALS['TSFE']->absRefPrefix);
$isBaseURL = !empty($GLOBALS['TSFE']->baseUrl);
$isFeloginBaseURL = !empty($this->conf['feloginBaseURL']);
if ($isFeloginBaseURL) {
// first priority
$this->conf['linkPrefix'] = $this->conf['feloginBaseURL'];
//second priority
} else if($isAbsRelPrefix && ($GLOBALS['TSFE']->absRefPrefix == '/')) {
$this->conf['linkPrefix'] = t3lib_div::getIndpEnv('TYPO3_REQUEST_HOST');
$isAbsRelPrefix = false;
} else {
if ($isBaseURL) {
// 3rd priority
    (1-1/1)