Hi Craig,

what are you trying to accomplish - i.e. what do you need this information for? There are various directives pointing to important directories already in the framework.

cheers

felix

On Feb 18, 2009, at 10:49 AM, Craig Fairhurst wrote:

Hello

In order to determine the full absolute path of the currently executed application, I am doing:
AgaviConfig::set('core.base_dir',substr(dirname(__FILE__),0,-4));

Which feels wrong, what if "pub" changes?. Is there an easier way?


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

--
Felix Gilcher

Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München

T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28

[email protected]
http://bitextender.com/

Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to