~ubuntu-branches/ubuntu/lucid/wordpress/lucid-security

« back to all changes in this revision

Viewing changes to wp-config-sample.php

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2009-02-17 01:15:21 UTC
  • mfrom: (11.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090217011521-5bpmct5wtqrpu8u3
Tags: 2.7.1-2ubuntu1
* Merge from Debian unstable (LP: #327674), Ubuntu remaining changes:
  - debian/apache.conf:
    + Changed to use /var/www instead of /srv/www for virtual webroot.
  - debian/setup-mysql:
    + Changed to use /var/www instead of /srv/www.
  - debian/patches/010_remove_update_notice.patch:
    + Remove Wordpress upgrade notify in admin dashboard

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// ** MySQL settings ** //
3
 
define('DB_NAME', 'putyourdbnamehere');    // The name of the database
4
 
define('DB_USER', 'usernamehere');     // Your MySQL username
5
 
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
6
 
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
 
2
/** 
 
3
 * The base configurations of the WordPress.
 
4
 *
 
5
 * This file has the following configurations: MySQL settings, Table Prefix,
 
6
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
 
7
 * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 
8
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 
9
 *
 
10
 * This file is used by the wp-config.php creation script during the
 
11
 * installation. You don't have to use the web site, you can just copy this file
 
12
 * to "wp-config.php" and fill in the values.
 
13
 *
 
14
 * @package WordPress
 
15
 */
 
16
 
 
17
// ** MySQL settings - You can get this info from your web host ** //
 
18
/** The name of the database for WordPress */
 
19
define('DB_NAME', 'putyourdbnamehere');
 
20
 
 
21
/** MySQL database username */
 
22
define('DB_USER', 'usernamehere');
 
23
 
 
24
/** MySQL database password */
 
25
define('DB_PASSWORD', 'yourpasswordhere');
 
26
 
 
27
/** MySQL hostname */
 
28
define('DB_HOST', 'localhost');
 
29
 
 
30
/** Database Charset to use in creating database tables. */
7
31
define('DB_CHARSET', 'utf8');
 
32
 
 
33
/** The Database Collate type. Don't change this if in doubt. */
8
34
define('DB_COLLATE', '');
9
35
 
10
 
// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
11
 
// so make it long and complicated.  You can visit http://api.wordpress.org/secret-key/1.0/
12
 
// to get a secret key generated for you, or just make something up.
13
 
define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
14
 
 
15
 
// You can have multiple installations in one database if you give each a unique prefix
16
 
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
17
 
 
18
 
// Change this to localize WordPress.  A corresponding MO file for the
19
 
// chosen language must be installed to wp-content/languages.
20
 
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
21
 
// to enable German language support.
 
36
/**#@+
 
37
 * Authentication Unique Keys.
 
38
 *
 
39
 * Change these to different unique phrases!
 
40
 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
 
41
 *
 
42
 * @since 2.6.0
 
43
 */
 
44
define('AUTH_KEY', 'put your unique phrase here');
 
45
define('SECURE_AUTH_KEY', 'put your unique phrase here');
 
46
define('LOGGED_IN_KEY', 'put your unique phrase here');
 
47
define('NONCE_KEY', 'put your unique phrase here');
 
48
/**#@-*/
 
49
 
 
50
/**
 
51
 * WordPress Database Table prefix.
 
52
 *
 
53
 * You can have multiple installations in one database if you give each a unique
 
54
 * prefix. Only numbers, letters, and underscores please!
 
55
 */
 
56
$table_prefix  = 'wp_';
 
57
 
 
58
/**
 
59
 * WordPress Localized Language, defaults to English.
 
60
 *
 
61
 * Change this to localize WordPress.  A corresponding MO file for the chosen
 
62
 * language must be installed to wp-content/languages. For example, install
 
63
 * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
 
64
 * language support.
 
65
 */
22
66
define ('WPLANG', '');
23
67
 
24
68
/* That's all, stop editing! Happy blogging. */
25
69
 
26
 
define('ABSPATH', dirname(__FILE__).'/');
27
 
require_once(ABSPATH.'wp-settings.php');
 
70
/** WordPress absolute path to the Wordpress directory. */
 
71
if ( !defined('ABSPATH') )
 
72
        define('ABSPATH', dirname(__FILE__) . '/');
 
73
 
 
74
/** Sets up WordPress vars and included files. */
 
75
require_once(ABSPATH . 'wp-settings.php');
28
76
?>