我在 application.ini 目录中定义了一个插件,例如
resources.frontController.plugins.acl = "CMS_Controller_Plugin_Acl"
命名空间CMS_
设置为在 bootstrap.php 中自动加载
$autoLoader = Zend_Loader_Autoloader::getInstance();
$autoLoader -> registerNamespace("CMS_");
但是,当我启动程序时,我收到了这个错误。
Class 'CMS_Controller_Plugin_Acl' not found in xxx\Zend\Application\Resource\Frontcontroller.php on line 117