Hi, keith Pope schrieb: > I find it best to name the default module though > like this: > > resources.frontcontroller.defaultmodule = "mynamespace" > resources.frontcontroller.params.prefixDefaultModule = true > > and then use: > > $this->_resourceLoader = new Zend_Application_Module_Autoloader(array( > 'namespace' => 'Mynamespace', > 'basePath' => APPLICATION_PATH . '/modules/mynamespace', > )); > > This way all your modules are properly namespaced so you can use them > in other projects etc.
This seems to work without specifying prefixDefaultModule as true ...
Besides this working solution it would be more logical that a plain
Bootstrap.php in the default directory takes care of the autoloading as
it does for non-default modules, because these lines of code are simply
superfluous if not irritating.
--
Cheers, \\|//
Vince (o o)
----------------------------ooO-(_)-Ooo-------------------------
''' (o)_(o) [ ][0][ ]
ô¿ô (=°o°=) World Domination by Copy and Paste [ ][ ][0]
- (")_(") [0][0][0]
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Ooo.
---------------------------.ooO----( )-------------------------
( ) (_/
\_)
signature.asc
Description: OpenPGP digital signature
