If the suggest of @Marc not work try add the following line in application.ini:
resources.frontController.plugins.accessCheck = Plugin_AccessCheck
in Bootstrap.php:
/**
* @return Zend_Application_Module_Autoloader
*/
protected function _initAutoload()
{
$autoloader = new Zend_Application_Module_Autoloader(array('namespace' => '', 'basePath' => APPLICATION_PATH));
$autoloader->addResourceType('plugin', 'plugins', 'Plugin');
return $autoloader;
}
This works if the file is in the following path:
/app/application/plugins/AccessCheck.php