[pmwiki-users] Paths
Charles Little
clittle at corp.ivs.cc
Sun Oct 1 11:54:15 CDT 2006
> It's not a url, it's a directory path (internal to the server). Use
>
> include_once("$FarmD/cookbook/mediacat.php");
>
> The $FarmD variable works in both farm and non-farm installations.
>
> The variable is documented at
> http://pmwiki.org/wiki/PmWiki/PathVariables#FarmD
Thanks- I found that (finally) right after I sent the message.
That brings up a point- if you can use $FarmD, then why do all of the
cookbook recipes use /path/to? Just using $FarmD would seem to be more
intuitive and leave less room for misunderstandings...
--------------------------------------------
Charles Little | President/Sr. Developer Infinite Visions Studios |
http://corp.ivs.cc
email: clittle at corp.ivs.cc | mobile: (404) 606-0455 | office: (770) 879-3628
...there are no limits...
"'Twixt truth and madness lies but a sliver of a stream."
More information about the pmwiki-users
mailing list