[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/ -> gp-config-sample.php (source)

   1  <?php
   2  // ** MySQL settings - You can get this info from your web host ** //

   3  
   4  /** The name of the database for bbPress */

   5  define('GPDB_NAME', 'glotpress');
   6  
   7  /** MySQL database username */

   8  define('GPDB_USER', 'username');
   9  
  10  /** MySQL database password */

  11  define('GPDB_PASSWORD', 'password');
  12  
  13  /** MySQL hostname */

  14  define('GPDB_HOST', 'localhost');
  15  
  16  /** Database Charset to use in creating database tables. */

  17  define('GPDB_CHARSET', 'utf8');
  18  
  19  /** The Database Collate type. Don't change this if in doubt. */

  20  define('GPDB_COLLATE', '');
  21  
  22  /**#@+

  23   * Authentication Unique Keys.

  24   *

  25   * Change these to different unique phrases!

  26   * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

  27   *

  28   * @since 0.1

  29   */
  30  define('GP_AUTH_KEY', 'put your unique phrase here');
  31  define('GP_SECURE_AUTH_KEY', 'put your unique phrase here');
  32  define('GP_LOGGED_IN_KEY', 'put your unique phrase here');
  33  define('GP_NONCE_KEY', 'put your unique phrase here');
  34  /**#@-*/

  35  
  36  /**

  37   * GlotPress Localized Language, defaults to English.

  38   *

  39   * Change this to localize WordPress.  A corresponding MO file for the chosen

  40   * language must be installed to languages/. For example, install

  41   * fr_FR.mo to languages/ and set GP_LANG to 'fr_FR' to enable French

  42   * language support.

  43   */
  44  define('GP_LANG', '');
  45  
  46  /**

  47   * Custom users and usermate tables for integration with WordPress user system

  48   * 

  49   * You might want to delete your current permissions, since they will point to different

  50   * users in the custom table. You can use `php scripts/wipe-permissions.php` for that.

  51   * 

  52   * If you start with fresh permissions, you can add admins via `php scripts/add-admin.php`

  53   */
  54  // define('CUSTOM_USER_TABLE', 'wp_users');

  55  // define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

  56  
  57  /**

  58   * GlotPress Database Table prefix.

  59   *

  60   * You can have multiple installations in one database if you give each a unique

  61   * prefix. Only numbers, letters, and underscores please!

  62   */
  63  $gp_table_prefix = 'gp_';


Generated: Tue Feb 7 03:59:02 2012 Hosted by follow the white rabbit.