Noven INI Update
Last updated: Friday 07 May 2010 14:24
Version |
Compatible with |
3.0.1
|
4.x
|
Allows "environment switching". Very useful when INI settings are different between, for example, your dev server and your production server.
1 Introduction
This extension allows "environment switching", that is updating INI settings depending on your environment (dev, staging, production...). It takes INI values from an XML source. It uses default INI API.
3.0 Highlights :
- Backup config files before switching
- Diff feature in CLI
- Policy limitations support (with a dependency on eZJSCore)
- config.php support
- eZDFSFileHandler support
2 Installation
- Download the archive and uncompress it under the extension/ directory
- Reload the autoload classes (php bin/php/ezpgenerateautoloads.php -e)
- Activate the extension.
3 Configuration
Edit the XML file with your needs, which path must be defined in /extension/noveniniupdate/setting/noveniniupdate.ini.append.php, variable: XmlContent. The XML sample is here: /extension/noveniniupdate/source/sample.xml. Be sure to get the same XML structure, only values that are different depending on the environment and check all values.
4 How to Use
- You should have a new tab on the backoffice.
- Select the environment where to update the INI files defined on the XML file.
- You may check the new values on the setup tab, under INI parameters.
- You can also use the CLI script provided (see documentation)
Screenshot
Admin Interface
NovenINIUpdate 3.0.1 released
Tuesday 17 August 2010 01:35
Jérôme Vieilledent