[TYPO3-core] RFC: removing symlinks - Report

Martin Kutschker Martin.Kutschker at blackbox.net
Tue Feb 14 09:22:15 CET 2006


Michael Stucki <michael at typo3.org> writes on 
Mon, 13 Feb 2006 19:30:02 +0100 (MET):

> Hi Martin,
> 
> > > 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.
> 
> Seems so. I don't want to remove the constant, I simply suggest to
> define it at the end of the script, right before index_ts.php is
> included.
> 
> Above that point, we should use a simple variable instead, because
> that will be faster.


I fear that Ingmar is right that this might pose a security risk.

And anyway, I don't think that these milliseconds are the crucial ones. i we cared for speed we would have to remove many statements that are solely for developing (debugging code, the TS execution/parsing stack/logger), etc.

Masi 



More information about the TYPO3-team-core mailing list