[pmwiki-users] shared pages and skin-specific pagestores

Radu radu at monicsoft.net
Sat Aug 13 15:21:42 CDT 2005


At 03:50 PM 8/13/2005, Patrick R. Michaud wrote:
>On Sat, Aug 13, 2005 at 05:52:18AM -0400, Bronwyn Boltwood wrote:
> > Also, thinking ahead, are variables set in config.php automatically global?
>
>Yes -- any variable in config.php is automatically global unless
>it's defined inside of a function (in which case it has to be
>explicitly declared global).

Are you sure? I recently had to take apart and put toghether the 
light skin and in light.php if I don't declare variables as global 
($Author, $AuthorDef), they show up empty


Cheers,
Radu
(www.monicsoft.net) 





More information about the pmwiki-users mailing list