Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sproutventure/280398 to your computer and use it in GitHub Desktop.
Save sproutventure/280398 to your computer and use it in GitHub Desktop.
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information by
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/content' );
define( 'WP_CONTENT_URL', 'http://wp.local/content');
if ($_SERVER["SERVER_NAME"] == "wp.local") {
define('DB_NAME', 'xxx_dll');
define('DB_USER', 'xxx_dll');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'external-db.sxxxx.gridserver.com');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'wpdev_';
} elseif ($_SERVER["SERVER_NAME"] == "dc.local") {
define('WP_SITEURL', 'http://dc.local');
define('WP_HOME', 'http://dc.local');
define('DB_NAME', 'xxx_dancameronorg');
define('DB_USER', 'xxx_private');
define('DB_PASSWORD', 'xxx');
define('DB_HOST', 'external-db.sxxxx.gridserver.com');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'L|=Vs|-S=kFg4#SQ=I_39y.|q!h+^_wIe(Dv{[+d+I$WsR-6/v^yg+Vs]w;(7Az:');
define('SECURE_AUTH_KEY', '*P#Z9Zuik}>{k+8Oi}H*)<#Lc+}6K|%i=]>qhRPJ-*IOdUB.3btb-]_W`SCBkyU4');
define('LOGGED_IN_KEY', 'f|{Z68O#v[iqW]-/KOT:o|#N,]0pJK,yQ09Y>>IczR6ZxX|WVlx@w;Jz_C]c+$Ks');
define('NONCE_KEY', ',crh_`t)Z~[1+~0n<NQ%Ashe0Rfv6v5]w&|I/UC|VBbBW>i#07b[tHc1]Q3q499.');
$table_prefix = 'dan_';
} elseif ($_SERVER["SERVER_NAME"] == "dll.local") {
define('WP_SITEURL', 'http://dll.local');
define('WP_HOME', 'http://dll.local');
define('DB_NAME', 'xxx_dll');
define('DB_USER', 'xxx_dll');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'external-db.sxxxx.gridserver.com');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'wpdesv_';
} elseif ($_SERVER["SERVER_NAME"] == "ap.local") {
define('WP_SITEURL', 'http://ap.local');
define('WP_HOME', 'http://ap.local');
define('DB_NAME', 'test2');
define('DB_USER', 'root');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'macbookpro.local:8889');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'ap_';
} elseif ($_SERVER["SERVER_NAME"] == "ms.local") {
define('WP_SITEURL', 'http://ms.local');
define('WP_HOME', 'http://ms.local');
define('DB_NAME', 'test2');
define('DB_USER', 'root');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'macbookpro.local:8889');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'methane_';
} elseif ($_SERVER["SERVER_NAME"] == "lad.local") {
define('WP_SITEURL', 'http://lad.local');
define('WP_HOME', 'http://lad.local');
define('DB_NAME', 'test2');
define('DB_USER', 'root');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'macbookpro.local:8889');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'lad_';
} elseif ($_SERVER["SERVER_NAME"] == "carp.local") {
define('WP_SITEURL', 'http://carp.local');
define('WP_HOME', 'http://carp.local');
define('DB_NAME', 'test2');
define('DB_USER', 'root');
define('DB_PASSWORD', 'XXXX');
define('DB_HOST', 'macbookpro.local:8889');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
$table_prefix = 'carp_';
} else { //DEFAULT
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'test2');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'XXXX');
/** MySQL hostname */
define('DB_HOST', 'macbookpro.local:8889');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
*
* @since 2.6.0
*/
define('AUTH_KEY', 'xxx');
define('SECURE_AUTH_KEY', 'xxx');
define('LOGGED_IN_KEY', 'xxx');
define('NONCE_KEY', 'xxx');
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wpdev_';
} //endif
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to 'de' to enable German
* language support.
*/
define ('WPLANG', '');
/* That's all, stop editing! Happy blogging. */
/** WordPress absolute path to the Wordpress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment