Bug #20062 » 0010452_followup.patch

Administrator Admin, 2009-02-20 16:09

View differences:

typo3/sysext/simulatestatic/class.tx_simulatestatic.php (Arbeitskopie)
214 214
		}
215 215

  
216 216
		// If PATH_INFO is defined as simulateStaticDocuments mode and has information:
217
		if ($this->conf['mode'] === 'PATH_INFO' && t3lib_div::getIndpEnv('PATH_INFO')) {
217
		if (t3lib_div::getIndpEnv('PATH_INFO') && strpos(t3lib_div::getIndpEnv('TYPO3_SITE_SCRIPT'), 'index.php/') === 0) {
218 218
			$parts = t3lib_div::trimExplode('/', t3lib_div::getIndpEnv('PATH_INFO'), true);
219 219
			$pCount = count($parts);
220 220
			if ($pCount > 1) {
(2-2/2)