On Sun, Sep 7, 2008 at 12:56 AM, Cyril COTTET <[EMAIL PROTECTED]> wrote:
> However, I was wondering if that was really the expected behaviour of the
> method of if I should post a new ticket on Trac ?
As the $value var is never used in the method and there's no call to
sfConfig::set('sf_module_dirs', ...) in the whole symfony core code, I
don't know why it has been done like that. The only thing is that I
can't call this a "bug", and the change would break backward
compatibility...
Just a short tip, you can use the array_flip function to avoid
repeating keys/values :
sfConfig::set('sf_module_dirs',
array_flip(array('/path/where/I/want/it/to/look/', '/other/path')));
Feel free to open a ticket though, maybe this can be changed for 1.2.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---