Last active
August 29, 2015 13:56
-
-
Save cdcarson/9026596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add the composer autoload | |
*/ | |
require_once __DIR__ . '/vendor/autoload.php'; | |
/** | |
* Conditional environment statement | |
*/ | |
if (isset($_SERVER['IS_DEV_LOCAL']) && 1 == $_SERVER['IS_DEV_LOCAL']){ | |
//local... | |
define('DB_NAME', 'myapp.loc'); | |
define('DB_HOST', $_SERVER['DEV_DB_HOST']); | |
define('DB_USER', $_SERVER['DEV_DB_USER']); | |
define('DB_PASSWORD', $_SERVER['DEV_DB_PASS']); | |
define('WP_DEBUG', true); | |
} elseif (isset($_SERVER['RDS_DB_NAME'])){ | |
//AWS Environment | |
define('DB_NAME', $_SERVER['RDS_DB_NAME']); | |
define('DB_USER', $_SERVER['RDS_USERNAME']); | |
define('DB_PASSWORD', $_SERVER['RDS_PASSWORD']); | |
define('DB_HOST', $_SERVER['RDS_HOSTNAME'] . ':' . $_SERVER['RDS_PORT']); | |
define('WP_DEBUG', false); | |
} | |
/** | |
* Database defines that do not depend on the environment... | |
*/ | |
define('DB_CHARSET', 'utf8'); | |
define('DB_COLLATE', ''); | |
/** | |
* Salts... | |
*/ | |
define('AUTH_KEY', '8Z|pa|z4+<Yid7M6}zYXWM^?-Z>M:QaFD>.W3j_-JHg244)z|yWXZ1CN+ (FAy^K'); | |
define('SECURE_AUTH_KEY', '+wO<?[{]Pv1}0FP,%Z?XGRW`9WE4|*Lo$&2np{-.cB&0GF/5Isj_|sRn_]lM=Wg/'); | |
define('LOGGED_IN_KEY', 'L@SL%A#(JAoT|6#i8pEY!FCV%%|~t#GXxk,, >.gPmqIzF7VY][rrCj!B|+q+(6c'); | |
define('NONCE_KEY', 'F]T5]LJppsW3xl|NS! trXf-b#ny;n4wa^Ra}k|7g_D3UTq_<noZ@mz%)3P- 5V;'); | |
define('AUTH_SALT', '+ft+=xh6/FiJS490+l<czw%D<,-zqeziQ)0AF7>CRNWFdJr -!IXPppIx oO,v0&'); | |
define('SECURE_AUTH_SALT', 'SzdgSC1P;8vtuXS<2^,d-mMxwz}5@Sm|-.8!-}/|U|q+v)gG8fDTXZIYWei//V];'); | |
define('LOGGED_IN_SALT', 'ien@<`4N)2yR*[1_dO8b|d+BrLx6^XPYE>Ws#8$]P]IOJOxBAu<.X?~vRqWMQ#]1'); | |
define('NONCE_SALT', 'X_=S^3+9OX}(451Pa9IDlT%p:c}>o9Jx.;;+~f%D]w|Z+s.2oiZouI2 =&lTFjnj'); | |
/** | |
* 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 = 'wp_'; | |
/** | |
* 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_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German | |
* language support. | |
*/ | |
define('WPLANG', ''); | |
/* That's all, stop editing! Happy blogging. */ | |
/** 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