I have a puzzling issue.
I can set the Zend_Registery in the bootstrap file of the default module
using : Zend_Registry::set('indexKey', 'value');
and it stays set. I can use the : Zend_Registry::get('indexKey');
and get the value in the file at :
application/layouts/scripts/_login.phtml
However when I set a registery index using the same code as above:
Zend_Registry::set('indexKey', 'value');
in my LoginController located at :
application/modules/authacl/controllers/LoginControllers.php
the Zend_Registery is not keeping the new index value when I try to use it
in : application/layouts/scripts/_login.phtml (same file as above)
I checked it in the controller by doing a
Zend_debug::dump(Zend_Registry::getInstance()) and it is there.
>From my reading the registry setting should be available anywhere in your
application.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Registry-not-staying-set-tp3476100p3476100.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]