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

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 25 21:10:10 CDT 2006


On Fri, Aug 25, 2006 at 08:56:50PM -0500, Patrick R. Michaud wrote:
> On Fri, Aug 25, 2006 at 05:59:50PM -0500, Ben Wilson wrote:
> > [...] However, apart from
> > SetSkin(), $SkinDir is not used. On first blush, it would appear that
> > there is no need for a global $SkinDir. 
> 
> It's made available so that skins (with a skin.php file) can have
> an easy way to access files relative to the skin's directory.
> (Especially if the skin.php file itself is doing further
> include_once() statements.)  A quick check on pmwiki.org shows
> that quite a few skins make direct use of $SkinDir.

Just to give an indication of its use, it appears that each of 
the following skins on pmwiki.org is making direct use of $SkinDir:

   dropdown fixflow flexi gemini grease katskin 
   light lines netstreams recurve triad

Pm




More information about the pmwiki-users mailing list