[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/conf/ -> _config.php (source)

   1  <?php
   2  /**

   3   * This is b2evolution's main config file, which just includes all the other

   4   * config files.

   5   * 

   6   * This file should not be edited. You should edit the sub files instead.

   7   *

   8   * See {@link _basic_config.php} for the basic settings.

   9   *

  10   * @package conf

  11   */
  12  
  13  if( defined('EVO_CONFIG_LOADED') )
  14  { // This makes sure the config does not get loaded twice in Windows (when the /conf file is in a path containing Capitals like /Blog/conf)
  15      return;
  16  }
  17  
  18  define( 'EVO_CONFIG_LOADED', true );
  19  
  20  require_once  dirname(__FILE__).'/_basic_config.php';            // basic settings

  21  if( file_exists(dirname(__FILE__).'/_config_TEST.php') )
  22  { // Put testing conf in there (For testing, you can also set $install_password here):
  23      include_once dirname(__FILE__).'/_config_TEST.php';       // FOR TESTING / DEVELOPMENT OVERRIDES

  24  }
  25  require_once  dirname(__FILE__).'/_advanced.php';           // advanced settings

  26  require_once  dirname(__FILE__).'/_locales.php';            // locale settings

  27  require_once  dirname(__FILE__).'/_formatting.php';         // formatting settings

  28  require_once  dirname(__FILE__).'/_admin.php';              // admin settings

  29  require_once  dirname(__FILE__).'/_stats.php';              // stats/hitlogging settings

  30  require_once  dirname(__FILE__).'/_application.php';        // application settings

  31  if( file_exists(dirname(__FILE__).'/_overrides_TEST.php') )
  32  { // Override for testing in there:
  33      include_once dirname(__FILE__).'/_overrides_TEST.php';    // FOR TESTING / DEVELOPMENT OVERRIDES

  34  }
  35  
  36  /*

  37   * $Log: _config.php,v $

  38   * Revision 1.51  2006/11/26 01:42:08  fplanque

  39   * doc

  40   *

  41   */
  42  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics