Project

General

Profile

Actions

Bug #16677

closed

mainScript ignored in conjunction with simulateStaticDocuments

Added by Daniel Chabrol about 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-10-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello Typo3-Team!

If you set config.mainScript to something other than index.php and also use config.simulateStaticDocuments=PATH_INFO, the links generated by Typo3 look still like /index.php/foo. I expect /mymainscript.php/foo .
If you change
$LD['url'] = 'index.php/'.$LD['url'].'/?';
to
$LD['url'] = $script.'/'.$LD['url'].'/?';
in t3lib/class.t3lib_tstemplate.php it corrects the problem.

Best regards
Daniel Chabrol

(issue imported from #M4449)


Files

bug_4449.diff (520 Bytes) bug_4449.diff Administrator Admin, 2006-10-30 22:00
Actions

Also available in: Atom PDF