php - Zend Framework Plugin in INI is not run -
The plugin declared in my application.ini file is not being triggered. I can install plugins in an old way through a bootstrap file, but I would prefer to keep it in the INI. It never loads that file, no exception is thrown, nothing.
I tried to add .class
to declare, but nothing.
application.ini
[production] phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 phpSettings.date.timezone = "America / Chicago "includePaths.library = APPLICATION_PATH" /../library:/Users/shane/Sites/doctrine1/lib "bootstrap.path = APPLICATION_PATH" /Bootstrap.php "bootstrap.class =" bootstrap "appnamespace =" application "resources.layout .layoutPath = APPLICATION_PATH "/ layout / scripts /"; resources.modules = "" resources.frontcontroller.defaultmodule = default resources.frontcontroller.moduleDirectory = APPLICATION_PATH "/ modules" resources.frontController.params.displayExceptions = 1 resources.doctrine.connections.default.dsn = "mysql: // root: Root@127.0.0.1/newfb "resources.doctrine.manager.attributes.attr_model_loading =" model_loading_zend "; Resources.doctrine.manager.attributes.attr_use_n Ative_enum = true pluginpaths.ZFDoctrine_Application_Resource = "ZFDoctrine / Applications / Resource" autoloadernamespaces.0 = "Principles" autoloadernamespaces.1 = "ZFDoctrine" autoloadernamespaces.2 = "dummy" autoloadernamespaces.3 = "ZFDebug "Resources.frontController.params.prefixDefaultModule = false ;; It should work, but it does not, why does resources.frontController.plugins.messages = "dummy_Plugins_Messages"
} library / dummy / plugins / Messages.php
index.php
is the standard Zend_Application that is created using Zend_Tool
Did you register 'FaxboxBulginNamespace' as a plug-in path?
pluginpaths.Faxxbachs_Plugins = / path / to / Faxxbach / Plugins
Also, I noticed in your example, you frontController
Were incompatible in their cover. There is a case about ZF leaning, so make sure you are compatible.
Comments
Post a Comment