Hello guys,
I am confused by the autoloader which i tried today. Maybe you can
give me some kind of a starter.
My Base package is in the folder:
/lib/zetacomponents/Base/src
then I wrote to my /index.php:
require_once ("lib/zetacomponents/Base/src/base.php");
function __autoload($class) {
ezcBase::autoload( $class );
}
But it fails loading with this path:
\lib\zetacomponents\Base\src/../../autoload/base_file_autoload.php
I tried to setWorkingDirectory but it also fails.
So, any pointers what I am missing?
I am using the SVN trunk version
Cheers,
Christian