[ Index ]

PHP Cross Reference of Textpattern 4.0.8

title

Body

[close]

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

   1  <?php
   2  
   3      /**
   4       *  mysql database
   5       */
   6          $txpcfg['db'] = 'databasename';
   7  
   8      /**
   9       *  database login name
  10       */
  11          $txpcfg['user'] = 'root';
  12  
  13      /**
  14       *  database password
  15       */
  16          $txpcfg['pass'] = '';
  17  
  18      /**
  19       *  database host
  20       */
  21  
  22          $txpcfg['host'] = 'localhost';
  23  
  24      /**
  25       *  table prefix (Use ONLY if you require multiple installs in one db)
  26       */
  27  
  28          $txpcfg['table_prefix'] = '';
  29  
  30      /**
  31       *  full server path to textpattern dir (no slash at end)
  32       */
  33  
  34          $txpcfg['txpath'] = '/home/path/to/textpattern';
  35  
  36      /**
  37       *  DB Connection Charset, only for MySQL4.1 and up. Must be equal to the Table-Charset.
  38       */
  39  
  40          $txpcfg['dbcharset'] = 'latin1';
  41  
  42      /**
  43       *  optional: database client flags as needed (@see http://www.php.net/manual/function.mysql-connect.php)
  44       */
  45  
  46      #    $txpcfg['client_flags'] = MYSQL_CLIENT_SSL | MYSQL_CLIENT_COMPRESS;
  47  
  48  ?>


Generated: Thu May 21 23:03:01 2009 Cross-referenced by PHPXref 0.7