Zend Framework module that helps developing Zend Framework applications with Zend Studio.
This module adds the following configuration to the Zend Framework application:
- Adds a
Cache-Control: no-cacheheader to the response object to avoid caching in Internet Explorer. - Changes the
Origin: file://header in the request object sent by Android 4.x devices toOrigin: file:///to avoid failure when using the ZfrCors module.
DO NOT enable this module in production systems.
Run the following composer command:
$ composer require --dev "zend/zend-studio-development-mode:^1.0"Alternately, manually add the following to your composer.json, in the require section:
"require-dev": {
"zend/zend-studio-development-mode": "^1.0"
}And then run composer update to ensure the module is installed.
Finally, add the module name to your project's config/development.config.php under the modules
key:
return array(
/* ... */
'modules' => array(
/* ... */
'ZendStudioDevelopmentMode',
),
/* ... */
);Typically, this module should be used along with
zf-development-mode in order to conditionally
enable the module in your application. When doing so, you will add the module to your project's
config/development.config.php.dist file instead of the config/application.config.php file, and
enable it via php public/index.php development enable.