[pmwiki-users] $SkinLibDirs definition
Sandy
sandy at onebit.ca
Thu Nov 2 18:27:40 CST 2006
Trying to figure out what $SkinLibDirs does, combining old list messages
with the existing definition on
http://pmwiki.org/wiki/PmWiki/LayoutVariables#SkinLibDirs
Is this correct?
An array which, given the server address for a skin, provides the
corresponding URL. The PmWiki program uses the server address (the key)
to find the skin.tmpl and skin.php files. The program then produces HTML
code for the page showing the URL (the value) so the browser can find
the .css and .gif files. Yes, two ways to describe the same directory.
In pseudocode:
"directory for the skin, in php-speak" => "directory for the skin, in
browser-speak"
By default $SkinLibDirs is set to:
$SkinLibDirs = array(
"./pub/skins/\$Skin" => "$PubDirUrl/skins/\$Skin",
"$FarmD/pub/skins/\$Skin" => "$FarmPubDirUrl/skins/\$Skin");
Sandy
More information about the pmwiki-users
mailing list