sfConfig::get('sf_plugins_dir').'/YourPluginName' ... On Wed, Nov 26, 2008 at 12:10 PM, Olivier Revollat <[EMAIL PROTECTED]>wrote:
> I defined a constant (the absolute path of my plugin root) like that in the > config.php of my plugin like that : > DEFINE('PATH_TO_AMA_PLUGIN' > ,realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..').DIRECTORY_SEPARATOR); > > it's works, I mean I can acces the constant in my module action for example > but when I do a 'clear cache' I got wome notices : > Notice: Constant PATH_TO_AMA_PLUGIN already defined in > C:\...\plugins\ama\config\config.php on line 4 > > I think their is a better way to define the plugin root ... > > Thanks ;) > > > > > -- Thomas Rabaix Internet Consultant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---