[TYPO3-core] RFC: removing symlinks - Report

Ingmar Schlecht ingmar at typo3.org
Mon Feb 13 19:30:10 CET 2006


Martin Kutschker wrote:
> Michael Stucki <michael at typo3.org> writes on 
> Mon, 13 Feb 2006 18:45:17 +0100 (MET):
> 
>> Additionally, I would like to see a variable used instead of the
>> PATH_tslib constant. Instead, define it right before index_ts.php is
>> included.
> 
> 
> There already some constants (and checks for them) in use by TYPO3. I say, we'd stick to them (or remove them at all).
> 
> But I may be missing something, because I don't understand why I would use a manual path in ts_index.php when all other code will use PATH_tslib.

I agree, the constant PATH_tslib should consistently be used.

Apart from that, I would not switch to variables because constants are
safer as they can only be defined in the PHP code and not by some GET
parameter even if register globals is on.

cheers,
Ingmar



More information about the TYPO3-team-core mailing list