[cvs] [Wiki] changed: Doc/Dev/Configuration

Wiki Guest wikiguest at horde.org
Fri Oct 20 02:54:36 PDT 2006


guest [80.145.114.189]  Fri, 20 Oct 2006 02:54:35 -0700

Modified page: http://wiki.horde.org/Doc/Dev/Configuration
New Revision:  1.4
Change log:  Link to ConfXML inserted.

@@ -14,9 +14,9 @@
  * {{servers.php}}, {{backends.php}}, {{sources.php}}: If an application can connect to different servers, backends, or directories, these will be defined and configured here.
  
  Normally, the configuration files have distributed examples with a {{.dist}} suffix appended to the file names. The {{prefs.php}} file for example comes distributed as {{prefs.php.dist}}. Applications are configured by copying e.g. {{prefs.php.dist}} to {{prefs.php}} and editing the configuration files with any text editor.
  
-The only exception is currently the {{conf.php}} file, which no longer comes as a {{conf.php.dist}} file, but as a {{conf.xml}} file containing the available options and their default values as XML markup. A graphical setup interface is created from this XML data that administrators can open and edit in their browsers. If they submit the configuration form, the PHP configuration files are created automatically, they no longer need to edited manually. This approach solves most of the drawbacks with PHP configuration files while keeping the good things:
+The only exception is currently the {{conf.php}} file, which no longer comes as a {{conf.php.dist}} file, but as a {{conf.xml}} file containing the available options and their default values as XML markup (see ((ConfXML))). A graphical setup interface is created from this XML data that administrators can open and edit in their browsers. If they submit the configuration form, the PHP configuration files are created automatically, they no longer need to edited manually. This approach solves most of the drawbacks with PHP configuration files while keeping the good things:
  * The chances are much lower that administrators accidentally break the configuration files by creating invalid PHP code.
  * Configuration is much easier using a graphical interface.
  * The configuration files are still PHP code.
  * Administrators can still customize the configuration with their own PHP code.


More information about the cvs mailing list