Hello,

fixed in r8254 <http://trac.symfony-project.com/changeset/8254>


On Tue, Apr 1, 2008 at 12:31 AM, Joe Kelsey <[EMAIL PROTECTED]> wrote:

>
> 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
>
> >
>


-- 
Noël GUILBERT
http://www.sensiolabs.com
http://www.symfony-project.com
Sensio Labs
Tél: +33 1 40 99 80 80

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to