incubator-zeta-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Pic <james...@gmail.com>
Subject Re: [zeta-users] Confusion with classloader
Date Thu, 07 Oct 2010 12:45:41 GMT
On Thu, Oct 7, 2010 at 1:28 PM, Christian Grobmeier <grobmeier@gmail.com> wrote:
> Hi
>
>> Did you try without calling setWorkingDirectory() ?
>
> yes (as above):
>

I asked *withOUT* ;)

> ezcBase::setWorkingDirectory('lib/zetacomponents');
> ezcBase::autoload( $class );
>
> Basically yes, just with setWorking Directory and without die.
>

If that works for you then it's ok, note that you should *NOT* (have
to) use setWorkingDirectory.

Anyway, if you really want to use it then i don't think you need to
call it at each __autoload() call, because setWorkingDirectory() is
the only setter for the static variables it is about.

Regards

James

-- 
http://jamespic.com/contact
Customer is king - Le client est roi - El cliente es rey.

Mime
View raw message