[pmwiki-users] moving skins out of public access

JB jbit at ev1.net
Wed Sep 20 16:46:35 CDT 2006


I still do not understand $SkinLibDirs.

Normally a skin directory contains a "skin tmpl file" and 
a "skin css file".

A "skin css file" must be publicly accessible.  Therefore to 
"move a skin out of public accessible areas" you can 
only move the "skin tmpl file", but not the "skin css file".

Question 1.
So does $SkinLibDirs only specify where the "skin tmpl file" is 
located, or does it also specify where the "skin css file" is 
located?




By default $SkinLibDirs has a value of 

$SkinLibDirs = array("./pub/skins/\$Skin"      =>
"$PubDirUrl/skins/\$Skin",
        "$FarmD/pub/skins/\$Skin" => "$FarmPubDirUrl/skins/\$Skin")




Question 2
Why do you set the array's key to a server directory and the array's
corresponding 
value to a publicaly accessible URL?  



Question 3
Is the key suppose to be where the "skin tmpl file" is located
and the value suppose to be where the "skin css file" is located?





More information about the pmwiki-users mailing list