I thought we had added a UNIT_TESTING constant that stopped execution in
index.php after, essentially, bootstrapping everything.

I am in favor of renaming __autoload so it isn't confused with the native
autoload functionality, though. In fact I was recently curious as to whether
it was actually working with SPL as intended since it was named
__autoload...

On Fri, Feb 20, 2009 at 5:24 AM, Pivwan <[email protected]> wrote:

>
> On Feb 20, 8:23 am, Sean Coates <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to