[TYPO3-core] RFC: EM: inconsistent line ending while saving ext_emconf.php

Michael Stucki michael at typo3.org
Wed Jan 24 15:25:54 CET 2007


Hi Dmitry,

> > As long as you are using double quotes, it will still work with the
> > backslash:
> >
> > +		return str_replace("\r", '', $code);
>
> Yeah, I know but we do not use double quotes in the core :D So I tested
> and committed with chr(13).

Hehe ;-) Well, I think it would have been appropriate if the string contains a 
line break, but of course the chr() call is just as good.

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070124/8f0b39e7/attachment.pgp 


More information about the TYPO3-team-core mailing list