Try adding:
Zend_Loader::loadClass('Zend_Registry');
in you bootstrap file under the Zend_Loader::loadClass('Zend_View');
Regards,
Rob...
ZegeeDotCom wrote:
> WHen I do this in my boot-strapper:
> Zend_Loader::loadClass('Zend_View');
> $view = new Zend_View();
> $view->setScriptPath('../application/views');
> Zend_Registry::set('view',$view);
>
> and this in my default index controller:
>
> $view = Zend_Registry::get('view');
>
> it gives me an error:
> Fatal error: Class 'Zend_Registry' not found
>
> and I have to reinstantiate the view in the controller to get this to work.
> This is not right.
>