[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/config/ -> config.properties.php (source)

   1  <?php
   2  #
   3  # database settings
   4  #
   5  # Installation instructions:
   6  #   NEW INSTALL
   7  #   Leave these values blank,
   8  #   and go to the URL where you installed LifeType
   9  #   and look at /wizard.php and type the appropriate
  10  #   values in there.
  11  #
  12  #   This file needs to be writable
  13  #   by whatever user your php scripts run as.
  14  #   The easiest thing to do is to make this file
  15  #   writable by everyone, and then after the wizard
  16  #   completes, remove write privileges from everyone
  17  #   except yourself.
  18  #
  19  #   UPGRADE
  20  #   remove all files from your old plog directory
  21  #   (back them up somewhere, also backup your current
  22  #    database)
  23  #   Upload new pLog files into the same directory,
  24  #   and then copy your old config.properties.php
  25  #   over this file, and then run the wizard.
  26  #   (note, if upgrading between minor releases:
  27  #   1.0 to 1.0.1, etc. you shouldn't run the wizard)
  28  
  29  $config["db_host"] = "";
  30  $config["db_username"] = "";
  31  $config["db_password"] = "";
  32  $config["db_database"] = "";
  33  $config["db_persistent"] = true;
  34  $config["db_character_set"] = "default";
  35  
  36  #
  37  # the database prefix will be appended to the name of each database tables in case you want
  38  # to have more than one version of plog running at the same time, such as the stable and
  39  # unstable one for testing. Each one could use a different prefix and therefore they could
  40  # coexist in the same unique database. If you change this after the initial configuration done
  41  # with the installation wizard, please make sure that you also rename the tables.
  42  #
  43  $config["db_prefix"] = "";
  44  
  45  #
  46  # This array is used to pass driver-specific parameters. Currently the only supported
  47  # one is enable_fulltext_search, that informs the MySQL driver that FULLTEXT indexes
  48  # can be used to speed up searches. It's disabled by default as it does not work with
  49  # languages such as Chinese or Japanese. In all other cases, you probably want to enable
  50  # this for performance reasons (searches are lot faster if using the FULLTEXT indexes)
  51  #
  52  $config["db_options"] = Array( "enable_mysql_fulltext_search" => false );
  53  ?>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics