开发者

Problem with plugin - Zend Framework

开发者 https://www.devze.com 2022-12-14 03:26 出处:网络
I have this problem with a plugin in zend framework.开发者_运维技巧 I\'ve created on this route:

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

精彩评论

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