Is this a module bootstrap? A module bootstrap should extend
Zend_Application_Module_Bootstrap. Also, the Modules application resource
must be registered. In your application.ini, add a

    resources.modules =

line somewhere.

   -- Mon


On Wed, May 6, 2009 at 1:04 PM, iceangel89 <[email protected]> wrote:

>
> i have something like ...
>
> <?php
> class Lab_Bootstrap extends Zend_Application_Module_Autoloader
> {
>    function _initApp() {
>        $view = Zend_Layout::startMvc()->getView();
>        $view->labClass = "current";
>        die();
>    }
> }
>
> am trying to set a variable in my view when i am in a specific module. but
> die() does not stop the app so probably this is not running
> --
> View this message in context:
> http://www.nabble.com/Zend_Application_Module_Autoloader-does-not-run--tp23400085p23400085.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to