Reputation: 1870
Right now I am using ZF1 and I don't want to load functions which are associated with different module at the time of initiation. I would like to make different bootstrap file for that.
The common bootstrap file extends Zend_Application_Bootstrap_Bootstrap
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
Upvotes: 2
Views: 42
Reputation: 14882
Each module may have its own bootstrap.php
file. Change the class definition to:
class Admin_Bootstrap extends Zend_Application_Module_Bootstrap
Where Admin
is the name of your module folder.
You can now have an independent bootstrap for this module.
Upvotes: 1