I have included plugin SecurityCheck.php (Login_Plugin_SecurityCheck) in bootstrap.php. its giving error -> Call to undefined method Zend_Application::getResource() in Bootstrap.php on line 9. Below is my code.
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initPlugins()
{
$bootstrap = $this->getApplication();
$bootstrap->bootstrap('frontcontroller');
$front = $bootstrap->getResource('frontcontroller');
$front->registerPlugin(new Login_Plugin_SecurityCheck());
}
}
How to solve this error.
Try this
C of frontcontroller should be captial.