开发者

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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜