[kronolith] Calling Kronolith::listCalendars()inside config/prefs.php?

Mike Dorman dorm at dorm.org
Tue May 9 09:48:04 PDT 2006


Worked great.  Thanks for the help.

Mike


> > I would like to configure my kronolith preferences to display all
> calendars
> > by default (display_cals).  So I thought I would just call
> > Kronolith::listCalendars() in prefs.php and then use that array to
> assign to
> > the preferences value.
> >
> > But I'm running into a chicken and the egg problem, where I need the
> > kronolith class loaded in prefs.php, but prefs.php is included by
> > lib/base.php.
> 
> Don't include base.php, include only the needed libraries and
> instantiate the Share object directly.




More information about the kronolith mailing list