I'm confused, I've read everything I found about the topic, but it doesn't work.
I want to build a plugin to use the preDispatch
Action.
I would like to name it like this:
class Mosaik_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
My path and name of the file: C:\wamp\www\mosaik\application\controllers\plugins\Acl.php
I tried to register the class in my application.ini
:
resources.frontController.plugins.acl = "Mosaik_Controller_Plugin_Acl"
I get some errors:
Fatal error: Class 'Mosaik_Controller_Plugin_Acl' not found in C:\wamp\www\mosaik\library\Zend\Application\Resource\Frontcontroller.php on line 117
My exact question is: For this example, how should be the registering in my application.ini. Is the name of my plugin class correct or do I have to change it? (Like?) I know it is a basic understanding problem, but nothing helped.