[pmwiki-users] What about $SkinDir . . .

Patrick R. Michaud pmichaud at pobox.com
Sat Aug 26 09:06:19 CDT 2006

On Sat, Aug 26, 2006 at 12:20:41AM -0500, Ben Wilson wrote:
> On 8/25/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >However, all is not lost; we could always come up with a
> >$SkinLocationsFmt array that specifies places to look
> >for skins and the corresponding urls to use.  Thus, the
> >default would be
> >
> >    SDV($SkinLocationsFmt,
> >      array('./pub/skins/$1'      => '$PubDirUrl/skins/$1',
> >            '$FarmD/pub/skins/$1' => '$FarmPubDirUrl/skins/$1'));
> >
> >Would something like that work for you?
> That probably works much better---especially in light of the
> dependency that presently exists with all the skins. Although, there
> might be a better name for the variable, sort of like the array for
> wiki.d directories. However, I trust you know best how to name it.

Good point.  $SkinLibDirs (analogous to $WikiLibDirs) sounds like
a really good choice to me.  :-)


More information about the pmwiki-users mailing list