Bug #14788 » class.tslib_content.php.patch

Administrator Admin, 2005-06-02 13:04

View differences:

class.tslib_content.php (working copy)
5758 5758
							}
5759 5759

  
5760 5760
								// If no domain records are defined, use current domain:
5761
							if ($targetDomain === '' && $conf['forceAbsoluteUrl'] ||
5762
									$absoluteUrlScheme !== parse_url(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), PHP_URL_SCHEME)) {
5763
								$targetDomain = $currentDomain;
5761
								//additional brackets for correcting operator predecence && -> ||; otherwise the currentdomain is always taken if the url_scheme differs
5762
							if ($targetDomain === '' && ($conf['forceAbsoluteUrl'] ||
5763
									$absoluteUrlScheme !== parse_url(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), PHP_URL_SCHEME))) {
5764
									$targetDomain = $currentDomain;
5764 5765
							}
5765 5766
						}
5766 5767

  
(1-1/2)