wp/wp-config-sample.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
8:c7c34916027a 9:177826044cd9
    18  * @package WordPress
    18  * @package WordPress
    19  */
    19  */
    20 
    20 
    21 // ** MySQL settings - You can get this info from your web host ** //
    21 // ** MySQL settings - You can get this info from your web host ** //
    22 /** The name of the database for WordPress */
    22 /** The name of the database for WordPress */
    23 define('DB_NAME', 'database_name_here');
    23 define( 'DB_NAME', 'database_name_here' );
    24 
    24 
    25 /** MySQL database username */
    25 /** MySQL database username */
    26 define('DB_USER', 'username_here');
    26 define( 'DB_USER', 'username_here' );
    27 
    27 
    28 /** MySQL database password */
    28 /** MySQL database password */
    29 define('DB_PASSWORD', 'password_here');
    29 define( 'DB_PASSWORD', 'password_here' );
    30 
    30 
    31 /** MySQL hostname */
    31 /** MySQL hostname */
    32 define('DB_HOST', 'localhost');
    32 define( 'DB_HOST', 'localhost' );
    33 
    33 
    34 /** Database Charset to use in creating database tables. */
    34 /** Database Charset to use in creating database tables. */
    35 define('DB_CHARSET', 'utf8');
    35 define( 'DB_CHARSET', 'utf8' );
    36 
    36 
    37 /** The Database Collate type. Don't change this if in doubt. */
    37 /** The Database Collate type. Don't change this if in doubt. */
    38 define('DB_COLLATE', '');
    38 define( 'DB_COLLATE', '' );
    39 
    39 
    40 /**#@+
    40 /**#@+
    41  * Authentication Unique Keys and Salts.
    41  * Authentication Unique Keys and Salts.
    42  *
    42  *
    43  * Change these to different unique phrases!
    43  * Change these to different unique phrases!
    44  * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    44  * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    45  * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    45  * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    46  *
    46  *
    47  * @since 2.6.0
    47  * @since 2.6.0
    48  */
    48  */
    49 define('AUTH_KEY',         'put your unique phrase here');
    49 define( 'AUTH_KEY',         'put your unique phrase here' );
    50 define('SECURE_AUTH_KEY',  'put your unique phrase here');
    50 define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
    51 define('LOGGED_IN_KEY',    'put your unique phrase here');
    51 define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
    52 define('NONCE_KEY',        'put your unique phrase here');
    52 define( 'NONCE_KEY',        'put your unique phrase here' );
    53 define('AUTH_SALT',        'put your unique phrase here');
    53 define( 'AUTH_SALT',        'put your unique phrase here' );
    54 define('SECURE_AUTH_SALT', 'put your unique phrase here');
    54 define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
    55 define('LOGGED_IN_SALT',   'put your unique phrase here');
    55 define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
    56 define('NONCE_SALT',       'put your unique phrase here');
    56 define( 'NONCE_SALT',       'put your unique phrase here' );
    57 
    57 
    58 /**#@-*/
    58 /**#@-*/
    59 
    59 
    60 /**
    60 /**
    61  * WordPress Database Table prefix.
    61  * WordPress Database Table prefix.
    62  *
    62  *
    63  * You can have multiple installations in one database if you give each
    63  * You can have multiple installations in one database if you give each
    64  * a unique prefix. Only numbers, letters, and underscores please!
    64  * a unique prefix. Only numbers, letters, and underscores please!
    65  */
    65  */
    66 $table_prefix  = 'wp_';
    66 $table_prefix = 'wp_';
    67 
    67 
    68 /**
    68 /**
    69  * For developers: WordPress debugging mode.
    69  * For developers: WordPress debugging mode.
    70  *
    70  *
    71  * Change this to true to enable the display of notices during development.
    71  * Change this to true to enable the display of notices during development.
    75  * For information on other constants that can be used for debugging,
    75  * For information on other constants that can be used for debugging,
    76  * visit the Codex.
    76  * visit the Codex.
    77  *
    77  *
    78  * @link https://codex.wordpress.org/Debugging_in_WordPress
    78  * @link https://codex.wordpress.org/Debugging_in_WordPress
    79  */
    79  */
    80 define('WP_DEBUG', false);
    80 define( 'WP_DEBUG', false );
    81 
    81 
    82 /* That's all, stop editing! Happy blogging. */
    82 /* That's all, stop editing! Happy publishing. */
    83 
    83 
    84 /** Absolute path to the WordPress directory. */
    84 /** Absolute path to the WordPress directory. */
    85 if ( !defined('ABSPATH') )
    85 if ( ! defined( 'ABSPATH' ) ) {
    86 	define('ABSPATH', dirname(__FILE__) . '/');
    86 	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
       
    87 }
    87 
    88 
    88 /** Sets up WordPress vars and included files. */
    89 /** Sets up WordPress vars and included files. */
    89 require_once(ABSPATH . 'wp-settings.php');
    90 require_once( ABSPATH . 'wp-settings.php' );