Hi

i think you should try sfConfig::get('sf_root_dir')

2009/7/9 Reynier Pérez Mira <rper...@uci.cu>

>
> Hi every:
> It's possible access to SF_ROOT_DIR value from a actions wich not
> extends from sfProjectConfiguration? I try using
> sfProjectConfiguration::getRootDir() directly and I get this error:
>
> Strict Standards: Non-static method sfProjectConfiguration::getRootDir()
> should not be called statically, assuming $this from incompatible
> context in
>
> D:\Server\www\sfwebacula\plugins\sfControlPanelPlugin\modules\sfControlPanel\actions\actions.class.php
> on line 131
>
> --
> Ing. Reynier Pérez Mira
>
> >
>


-- 
Regards,
Dheeraj

--~--~---------~--~----~------------~-------~--~----~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to