-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sergio Rinaudo wrote on 14.08.2009 18:27: > Hi, > yes, the default route is a Zend_Controller_Router_Route_Module as > explained in this page of the doc > http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.default-routes. > I tried to do a chain between the host route and a Module route with > empty constructor, but I got NULL as module value > when requesting mysite/admin. > > Any other advices? > Thanks > > > Sergio Rinaudo
You must assign a dispatcher and request object in the constructor, else it won't find any module. - -- ................................... : ___ _ ___ ___ ___ _ ___ : : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : :........:........................: : Web : http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ : 105677955 : :........:........................: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqFnhcACgkQ0HfT5Ws789CiPQCgvVH2fQN1bKlL44QC4tF0SyrR wzAAn3RzwU88OTZkkvMfbWd0WPfHLebq =kbIn -----END PGP SIGNATURE-----