[ewiki] Re: Blogging (calendar commit)

On Thu, 2004-05-20 at 19:24, Mario Salzer wrote:
> However you will get into trouble, because that constant should
> ultimatively be defined in ewiki.php, which then however prevents it
> use in plugins' define() statements - because those are typically
> executed beforehand (forcing plugins to be loaded after ewiki is not
> a good workaround).
> 
> > define("EWIKI_NAME_DIVIDER", "_");
> > define("CALENDAR_NAME_DIVIDER", EWIKI_NAME_DIVIDER);
> 
> Therefore, you would just use CALENDAR_NAME_SEP here (?) not depending
> upon a possible main EWIKI_NAME_SEP.
> 
> On the other hand most users are already used to our re-define() practice
> and would hopefully define() that constant in their config.php and not
> edit 'ewiki.php' for this (too late).

Our redfine practice is so thoroughly entrenched (at least in my
installs) that I think we can count on it.  Does the installer setup a
config.php which overrides some or all of ewiki.php?

Andy



Other related posts: