[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/config/ -> conf.php.dist (source)

   1  <?php
   2  /**
   3   * Horde Configuration File
   4   *
   5   * This file contains intial configuration settings for Horde.
   6   * It contains basic settings that allow you to log into Horde and
   7   * complete the configuration with configuration interface. The first
   8   * change you should do is to select a sensible authentication driver
   9   * and administrator user name.
  10   *
  11   * The only settings that might need changes if you are not running
  12   * Horde in a "default" setup are documented below. 
  13   *
  14   * Strings should be enclosed in 'quotes'.
  15   * Integers should be given literally (without quotes).
  16   * Boolean values may be true or false (never quotes).
  17   *
  18   * $Horde: horde/config/conf.php.dist,v 1.94.10.2 2006/05/22 20:33:21 chuck Exp $
  19   */
  20  
  21  // Determines how we generate full URLs (for location headers and
  22  // such). Possible values are:
  23  //   0 - Assume that we are not using SSL and never generate https URLS.
  24  //   1 - Assume that we are using SSL and always generate https URLS.
  25  //       NOTE: If you do this, you MUST hardcode the correct HTTPS port
  26  //       number in $conf['server']['port'] below. Otherwise Horde will
  27  //       be unable to generate correct HTTPS URLs when a user tries to
  28  //       access Horde via a non-HTTPS port.
  29  //   2 - Attempt to auto-detect, and generate URLs appropriately.
  30  $conf['use_ssl'] = 2;
  31  
  32  // What server name should we use? You'll probably know if you need to
  33  // change this default; only in situations where you need to override
  34  // what Apache thinks the server name is.
  35  $conf['server']['name'] = $_SERVER['SERVER_NAME'];
  36  
  37  // What port number is the webserver running on? Again, you shouldn't
  38  // need to change the default, and you probably know it if you do. The
  39  // exception is if you have $conf['use_ssl'] set to 1, as described
  40  // above.
  41  $conf['server']['port'] = $_SERVER['SERVER_PORT'];
  42  
  43  // What domain should we set cookies from? If you have a cluster that
  44  // needs to share cookies, this might be '.example.com' - the leading
  45  // '.' is important. Most likely, though, you won't have to change the
  46  // default.
  47  $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
  48  
  49  // What path should we set cookies to? This should match where Horde
  50  // is on your webserver - if it is at /horde, then this should be
  51  // '/horde'. If Horde is installed as the document root, then this
  52  // needs to be '/' - NOT ''.
  53  // ** BUT, if IE will be used to access Horde modules, you should read
  54  //    this first (discussing issues with IE's Content Advisor):
  55  //    http://lists.horde.org/archives/imp/Week-of-Mon-20030113/029149.html
  56  $conf['cookie']['path'] = '/horde';
  57  
  58  // YOU SHOULDN'T CHANGE ANTHING BELOW THIS LINE.
  59  $conf['debug_level'] = E_ALL;
  60  $conf['compress_pages'] = true;
  61  $conf['session']['name'] = 'Horde';
  62  $conf['session']['cache_limiter'] = 'nocache';
  63  $conf['session']['timeout'] = 0;
  64  $conf['auth']['admins'] = array('Administrator');
  65  $conf['auth']['driver'] = 'auto';
  66  $conf['auth']['params'] = array('username' => 'Administrator');
  67  $conf['prefs']['driver'] = 'none';
  68  $conf['menu']['always'] = false;
  69  $conf['portal']['fixed_blocks'] = array();
  70  $conf['imsp']['enabled'] = false;
  71  $conf['kolab']['enabled'] = false;


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7