简体   繁体   中英

Problem with plugin - Zend Framework

I have this problem with a plugin in zend framework.
I've created on this route:

library/Mis/Plugins/Unpluginmas.php

in application.ini

autoloaderNamespaces[] = "Mis_"

resources.frontController.plugins.Unpluginmas = "Mis_Plugins_Unpluginmas"

Unpluginmas.php

class Mis_Plugins_Unpluginmas extends Zend_Controller_Plugin_Abstract{

Zend Framework not find the plugin. I appreciate if you can help me because I can't find the problem.

Two things.

First, remove the underscore from your namespace prefix. That should be automatically added.

Second, lowercase your plugin name string.

resources.frontController.plugins.unpluginmas = "Mis_Plugins_Unpluginmas"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM