On Feb 20, 8:23 am, Sean Coates <s...@caedmon.net> wrote: > > Isn't there somewhere else to > > put it beside it's own file, though? > > This sounds like a chicken-and-egg problem. > If we put it somewhere else, that file needs to be explicitly loaded, > not autoloaded. >
IMO, we can create a bootstrap.php file (located in /system) which will take care of all habari initialization, like autoloader registration with SPL's one.. This file would be the only one explicitly required/included in / index.php (I saw a similar system in Dotclear. It allows to fully externalize core code from blog instance) PY --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to habari-dev@googlegroups.com To unsubscribe from this group, send email to habari-dev-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---