[pmwiki-users] Paths

Henrik Bechmann henrik.bechmann at sympatico.ca
Sun Oct 1 11:46:23 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

Best,

- Henrik

Charles Little wrote:
> Hello-
>  
> I'm trying to set a path to include a cookbook in my wiki.  None of the
> methods I try work, i.e.
>  
> full url: include_once("http://wiki.gamera.cc/cookbook/mediacat.php")
>  
> or relative url: include_once("../cookbook/mediacat.php")
>
> I get an error stating that the file could not be found... Etc, etc.
>  
> How do I specify a directory?  And instead of putting path/to in all of the
> recipes (or perhaps in addition to) perhaps an example would be warranted so
> you don't have to answer what I'm sure is a stupid question?
>  
> Thanks!
>  
> -----------
> 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...
> "How can it be known that what I call knowing is really not knowing and that
> what I call not knowing is not really knowing." -Chuang-tzu 
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list