[TYPO3-team-core-v5] Getting rid of DIRECTORY_SEPARATOR reloaded

Bastian Waidelich waidelich at network-publishing.de
Sun Jul 27 20:30:24 CEST 2008


Tim Eilers wrote:

Hi Tim,

> I did a search for that constant and could only find it in some 
> "Environment" classes and the FLOW3 base class.

You're right, in the FLOW3 package it's just used in four places. In two 
of them only to detect the environment (which is totally fine I guess).
I was just wondering about how to handle it in general.


> You should not count the ones you find under the "Resource" path in the 
> packages [...]

yeah, I didn't mean 3rd party code. I only wanted to ask for a common 
way for community contributed code.


> If your method will be useful or not: I don't know, cause i don't needed 
> something like that till now. Let others decide that :)

deal ;)

> Btw. which tests are failing?

currently
F3_FLOW3_Utility_EnvironmentTest->getPathToTemporaryDirectoryReturnsPathWithTrailingSlash()
and
F3_FLOW3_Cache_Backend_FileTest->setCacheDirectoryThrowsExceptionOnNonWritableDirectory()
fail on my machine (Vista). Until yesterday it was one more, but that's 
fixed already.


Thanks for the feedback,
Bastian


-- 
slice up the elephant, baby!


More information about the TYPO3-team-core-v5 mailing list