sfFinder cannot do relative searches on at least Windoze.
Whenever you regularize directory names, then all directory names end
with DIRECTORY_SEPARATOR. Then, in search_in() the stripping of
directories fails:
$files = array_merge($files,
str_replace($dir.DIRECTORY_SEPARATOR, '', $this->search_in($dir)));
In this case, $dir already ends with DIRECTORY_SEPARATOR, so the
str_replace ALWAYS fails since $dir.DIRECTORY_SEPARATOR produces two
concatenated DIRECTORY_SEPARATORs. So, I simply removed the
catenation of DIRECTORY_SEPARATOR. The REAL solution is to either
make sure the $dir string ahs no terminating DIRECTORY_SEPARATOR or
else that you specifically remove it.
/Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---