Hi

I'm searching through the docs looking forward the way to autoload more than 
one module with Zend_Application_Module_Autoloader.

In my bootstrap i have these lines:

        $autoloader = new Zend_Application_Module_Autoloader(
            array(
                'namespace'    => 'Citiers',
                'basePath'     => dirname(__FILE__)
            )
        );

And the autoloading is working pretty well. All the components are in the 
default module ("Application module") but now i've started to implement some 
new modules and I need to autoload them.

If i try to add a resourceType, the path is concatenated without any separator:

$autoloader->addResourceType('model', ROOT_PATH . '/modules/blog', 'Citiers_');

The base path for modules gets:

"C:\PATH.....\application/C:\PATH....\modules\blog".

I think there's a bug there, but putting aside this case, I'm wondering if 
there's a better way to specify the modules autoloaders.

Thanks.
 

Reply via email to