such as:
[production]
resources.frontController.moduleDirectory = APPLICATION_PATH
How to know “resources.frontController.moduleDirectory” is a valid config item
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All keys that start with
resources.someResourceNamewill be passed to the corresponding resource. Each individual resource is responsible for dealing with those options.The Zend Framework manual includes a page that lists configuration keys for the built-in resources. While that page should probably cover most things, it’s not necessarily exhaustive.
If the manual doesn’t list the keys for the resource you’re looking for, it’s often a good assumption that the same options you can programmatically pass to a Zend Framework component are also keys for its associated resource. As a last resort, looking in the resource’s code (which will be in the
Zend/Application/Resourcefolder for built-in resources) should at least give you an idea what keys are valid.Of course, you can also write your own resource plugins, and you’d be in control of what configuration keys they accept.