probi
10-12-2012, 03:02 PM
Hi all,
I'm trying to build a project that I plan on making installable in the future, what i'm trying to do is find a way to get the directory that the app is installed in, I have a config page created and would like to set a variable in there that would store the apps root directory.
So lets say for example I want to include an image instead of writing the full value manually I want to be able to put $variable/images/image.png or something similar.
Thanks in advance
I'm trying to build a project that I plan on making installable in the future, what i'm trying to do is find a way to get the directory that the app is installed in, I have a config page created and would like to set a variable in there that would store the apps root directory.
So lets say for example I want to include an image instead of writing the full value manually I want to be able to put $variable/images/image.png or something similar.
Thanks in advance