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

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

Reply via email to