Advertisement
Anderton

Sample wp-config.php

Dec 4th, 2013
1,275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.39 KB | None | 0 0
  1. <?php
  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
  7.  * by 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. if ( file_exists( dirname( __FILE__ ) . '/wp-config-local.php' ) ) {
  20.     include( dirname( __FILE__ ) . '/wp-config-local.php' );
  21. } else {
  22.     define( 'DB_NAME', 'mydatabase' );   // Your database name
  23.         define( 'DB_USER', 'root' );     // Never use this on a live site
  24.        define( 'DB_PASSWORD', 'root' );  // Never use this on a live site
  25.        define( 'DB_HOST', 'localhost' ); // MAMP and others 'localhost'
  26. }
  27.  
  28. /** Database Charset to use in creating database tables. */
  29. define('DB_CHARSET', 'utf8');
  30.  
  31. /** The Database Collate type. Don't change this if in doubt. */
  32. define('DB_COLLATE', '');
  33.  
  34. define('AUTH_KEY',         '^f++mzPz|/sI0U9USQS~:bH~oLBm~l!;U>]=H}X+Ps!+L[x7t>#MkN|y&edcXJST');
  35. define('SECURE_AUTH_KEY',  'P<<)|H_2K|N@aN1+$$ ?L2:.|-6vb12HI.&z{E<EL5|9(vj`L{2PXV-tQS)&h5I}');
  36. define('LOGGED_IN_KEY',    '%-edy#Z|ZT>}[YiEqI%I{]y5C-9/a!/63lX&Aj.tf:03&B$%KKQ@ml($oYeZ{l[>');
  37. define('NONCE_KEY',        '9g|dB?(_!.YrelH]SnPIVo+`R*MT|oF]?6KV+Fv;5u%>v+FL{Yef>rbEpsN=w+n>');
  38. define('AUTH_SALT',        'Tg;H-3?%;$MY3CR;/{oLb,8ZI4 s6U6f>2U0;L!qvK]1B>FL CM-`[9i%9dY<<v]');
  39. define('SECURE_AUTH_SALT', 'Bb.g#YImh!/|^J8VZ[tvZXV$| VX1yGbOcg*Iz;2_lNZ~Xgz.YQ]-7YK|/a@}T-t');
  40. define('LOGGED_IN_SALT',   '6((YaXwmi>F55 MNt8^ctT#1?h[|MR=w#+KEm`ro+PP6r[$V_JBm2P9y||,1EfbI');
  41. define('NONCE_SALT',       'y8StF?ZUXJ--+E#(yvoGN.C=y y#<01&v1#~.H/@%U^n!pZ9DL?Aq{s60&7iHU-N');
  42.  
  43. // Don't use these. Use the link below
  44. // https://api.wordpress.org/secret-key/1.1/salt/
  45.  
  46. /**
  47.  * WordPress Database Table prefix.
  48.  *
  49.  * You can have multiple installations in one database if you give each a unique
  50.  * prefix. Only numbers, letters, and underscores please!
  51.  */
  52. $table_prefix  = 'wp_myproject'; // WordPress takes care of adding this to the db
  53.  
  54. /**
  55.  * WordPress Localized Language, defaults to English.
  56.  *
  57.  * Change this to localize WordPress. A corresponding MO file for the chosen
  58.  * language must be installed to wp-content/languages. For example, install
  59.  * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  60.  * language support.
  61.  */
  62. // Example for Swedish: define('WPLANG', 'sv_SE');
  63.  
  64. /**
  65.  * For developers: WordPress debugging mode.
  66.  *
  67.  * Change this to true to enable the display of notices during development.
  68.  * It is strongly recommended that plugin and theme developers use WP_DEBUG
  69.  * in their development environments.
  70.  */
  71. define('WP_DEBUG', false); // set to true for debugging messages
  72.  
  73. /* That's all, stop editing! Happy blogging. */
  74.  
  75. /** Absolute path to the WordPress directory. */
  76. if ( !defined('ABSPATH') )
  77.     define('ABSPATH', dirname(__FILE__) . '/');
  78.  
  79. /** Sets up WordPress vars and included files. */
  80. require_once(ABSPATH . 'wp-settings.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement