Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
ezcFile::findRecursive uses a hard coded forward slash / for path calculation and returning paths, so if you want to use it on Windows you need to correct the result of getcwd() yourself before you pass it as base path to ezcFile::calculateRelativePath, otherwise you will get returned paths with mixed dir seperators, for example C:\sites\ezunstablephp5/access.php If you want to use the results of ezcFile::findRecursive again in ezcFile::calculateRelativePath, then in the path you will have to replace / again with the value in the DIRECTORY_SEPERATOR constant before passing the path to ezcFile::calculateRelativePath. Environment: Operating System: Windows XP SP2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||