My structure is like this: application -/modules -/default -/controllers -/models -/db ..php files -/custom -/controllers -/models -/db ..php files
I would like to keep same namespace for both resources (a.k.a My_Db_Classname), but how can I get Autoloader to register same namespace for 2 directories? This is sample of code currently: $resourceLoader = new Zend_Loader_Autoloader_Resource(array( 'basePath' => APPLICATION_PATH . '/modules', 'namespace' => 'My', 'resourceTypes' => array( 'db' => array( 'path' => 'default/models/db', 'namespace' => 'Db' ), 'db' => array( 'path' => 'custom/models/db', 'namespace' => 'Db' ) ), )); But it seams that last one overwrite previous.. thx for help :) ----- Regards, Eugen -- View this message in context: http://www.nabble.com/Zend_Loader_Autoloader_Resource-with-same-namespace-in-diferent-module-tp25292384p25292384.html Sent from the Zend Framework mailing list archive at Nabble.com.