[commits] [Wiki] changed: Doc/Admin/Config/Local

Jan Schneider jan at horde.org
Wed Sep 4 14:20:25 UTC 2013


jan  Wed, 04 Sep 2013 14:20:25 +0000

Modified page: http://wiki.horde.org/Doc/Admin/Config/Local
New Revision:  3
Change log:  Fix links, tweaks

@@ -1,20 +1,19 @@
-
  ----
  + How-To Create/Edit Local Config Files (.local.php)

  ##red|this is a new page and work is in progress, if you have  
anything to add please update##

-First read ((Doc/Dev/ConfigurationH3|Configuration Files))
+First read ((Doc/Dev/Configuration|Configuration Files))

  Applying changes to the files in {{config/}} (does not apply to  
{{conf.php}}) as this is managed though the web-interface and updated  
automatically) directories is not recommended as when you update Horde  
modules these files will be replaced.
  Horde has supplied us a method to get around this problem with local  
overrides which are not overwritten each time the modules are updated.  
There are also other methods such as {{vhosts}} or {{prefs.d/}} which  
this article does not go into directly but the principal is the same.

  There are a few ways to add entries into the local files.


  * Replace full array
-<code>
+<code type="php">
  $mime_drivers = array(
      /* HTML driver settings */
      'html' => array(
          /* NOTE: Inline HTML display is turned OFF by default. */
@@ -63,15 +62,15 @@

  </code>

  * Modify individual entries within the array
-<code>
+<code type="php">
  $mime_drivers['html']['inline']=true;
  </code>


  * Merge array to existing array (useful in the case of the format  
seen in mime_drivers.php)
-<code>
+<code type="php">
  $mime_drivers=array_merge($mime_drivers,array(
      /* Plain text viewer. */
      'plain' => array(
          'inline' => true,



More information about the commits mailing list