Fatal error - Login_Plugin_SecurityCheck not found

后端 未结 1 1585
醉酒成梦
醉酒成梦 2021-01-28 14:53

I am trying to implement user login using PHP/Zend. Following the example below: https://github.com/ezimuel/Authentication-and-authorization-with-ZF.git

I get the follow

相关标签:
1条回答
  • 2021-01-28 15:15

    Have you got these lines in your application.ini:

    resources.frontController.defaultModule = "login"
    resources.frontController.params.prefixDefaultModule = "1"
    resources.modules[]=
    resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
    resources.frontController.plugins[] = "Login_Plugin_SecurityCheck"
    

    Also, I notice the plugin is specified in the config as Login_Plugin_SecurityCheck, but in the login module, the folder is plugins, not plugin.

    0 讨论(0)
提交回复
热议问题