(on Monday, 30 March 2009, 06:17 PM +0300):
> keith Pope wrote:
> 2009/3/30 Cristian Bichis <contact@zftutorials.com>:
>
>
> Yes, this looks correct.
>
> So in application/Bootstrap.php you have:
>
> run()
> {
> ...dispatch();
> }
>
> In application/modules/admin/Bootstrap.php
>
> run()
> {}
>
> so run() here should be empty
>
> heres one of my older bootstraps, this is totally untested:
>
> class Storefront_Bootstrap extends Zend_Application_Module_Bootstrap
> {
> public function _initModule()
> {
> $this->getResourceLoader()
> ->addResourceType(
> 'modelResource',
> 'models/resources',
> 'Resource'
> );
> $this->getResourceLoader()
> ->addResourceType(
> 'service',
> 'services',
> 'Service'
> );
> }
>
> public function run(){}
> }
>
>
>
> Thanks for reply.
>
> No method of that module bootstrap doesn't get called.
>
> Maybe has something with my setting:
>
> resources.modules = ""
>
> on configs.ini....
What happens if you remove that setting?
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论