[ Index ]
 

Code source de CMS made simple 1.0.5

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

title

Body

[fermer]

/lib/adodb_lite/ -> adodb.config.php (source)

   1  <?php
   2  /**
   3   * ADOdb Lite Configuration File
   4   */
   5  
   6  /**
   7  * Set the $dbtype variable to the database designator.
   8  * If this variable is enabled it will override the database designator
   9  * entered in the ADONewConnection( $dbtype ) function. The database
  10  * designator in a DSN string will be overridden but the rest of the DSN
  11  * string will be used.
  12  * 
  13  * You can place a DSN entry in the $dbtype variable if you would like to
  14  * auto connect to your database.
  15  * 
  16  * Example: 
  17  * 
  18  * $dbtype = "driver://username:password@hostname/database?options[=value]#modules";
  19  * 
  20  * driver = Databasetype Designator listed in the table at the start of this page. 
  21  * username = The Username needed to access the database
  22  * password = Optional password for accessing the database 
  23  * hostname = localhost or url/ip address IE: http://0.0.0.0 or http://www.dbserver.com
  24  * database = The name of the database you will be accessing
  25  * options = All Drivers - 'persist', 'persistent', 'debug', 'fetchmode'
  26  *                      Mysql (all) - 'port', 'clientflags'
  27  *                      Mysqli - 'socket'
  28  *                      Postgress (all) - 'port'
  29  * modules = The modules that should be loaded. IE: pear, cache, extend, ect. 
  30  * 
  31  */
  32  
  33  // $dbtype = "mysql";
  34  
  35  /**
  36  * If you want to maintain compatability with the ADOdb ADONewConnection( $dbtype )
  37  * function you should designate the modules you need loaded below. If you designate
  38  * the modules below you do not need to designate them in
  39  * ADONewConnection( $dbtype, $modules ).
  40  * 
  41  * If you would like more than one module loaded at the same time concatinate the 
  42  * module names using a colon (:).
  43  * 
  44  * Example:
  45  * $modules = "pear:transaction:extend";
  46  * 
  47  * The above example would load the Pear, Transaction and Extend modules
  48  * automatically.
  49  */
  50  
  51  // $modules = "pear";
  52  ?>


Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7