[pmwiki-users] Path to skins question
Patrick R. Michaud
pmichaud at pobox.com
Wed Nov 8 08:34:35 CST 2006
On Wed, Nov 08, 2006 at 02:14:26PM +0000, Hans wrote:
> I still have not got this solved, so I will rephrase my question:
> How do I redefine $SkinLibDirs so that the second key will point to a
> skin directory outside $FarmD/, with what will i need to replace
> $siteroot? $FarmD is SiteRoot/pmwiki, outside the public_html folder.
> $SkinLibDirs = array(
> "./pub/skins/\$Skin" => "$PubDirUrl/skins/\$Skin",
> "$SiteRoot/public_html/farm/pub/skins/\$Skin" =>
> There should be an easy answer to this, but it evades me. Any ideas?
The above seems like it should work. Is it not finding the
skin directory at all, or is there some other problem?
You might try replacing $SiteRoot with an absolute path to
the farm/pub/skins directory. IIRC some versions of PHP
don't like seeing '..' in filesystem path names.
More information about the pmwiki-users