On Thu, 7 Oct 2010, Christian Grobmeier wrote:

> I have my zetacomponents stored at:
> lib/zetacomponents/
> 
> in this folder is:
> lib/zetacomponents/autoload with autoload php files
> lib/zetacomponents/Base
> lib/zetacomponents/UserInput
> 
> Then I added this to my autoload:
> 
> $options = new ezcBaseAutoloadOptions;
>               $options->debug = true;
>               ezcBase::setOptions( $options );
>               ezcBase::setWorkingDirectory('lib/zetacomponents');

Don't use setWorkingDirectory, it's for unit testing only.
The only thing you really have to do is:

require '/home/derick/dev/ezcomponents/trunk/Base/src/ezc_bootstrap.php';
(Adjusting the path).

Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug

Reply via email to