[pmwiki-users] Override extendmarkups?
Patrick R. Michaud
pmichaud at pobox.com
Mon Aug 8 14:03:42 CDT 2005
On Mon, Aug 08, 2005 at 03:51:42PM +1200, John Rankin wrote:
> I can't use SDVA, because pmwiki sets the $RecentChangesFmt array
> first.
I've been thinking about moving almost all of the variable initializations
so they occur later in the script (indeed, likely as a separate
include file). Thus, very little would be defined by default when
configuration scripts and recipes are loaded, and then
include_once("$FarmD/scripts/varinit.php");
would set PmWiki's defaults. This could be called from config.php,
or if not called it would be automatically done by scripts/stdconfig.php.
Thoughts? Are there a lot of scripts that depend on certain variables
being set? (Of course, a recipe could also choose to call varinit.php
directly.)
Pm
More information about the pmwiki-users
mailing list