* * 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 */ // ** MySQL settings - You can get this info from your web host ** // define( 'WP_DEBUG', false ); define( 'AUTOMATIC_UPDATER_DISABLED', true ); define( 'WP_AUTO_UPDATE_CORE', false ); define('WP_CACHE', true); //Added by WP-Cache Manager $env = getenv('APPLICATION_ENV'); if ($env == 'production') { define('DB_NAME', 'npubapi2cart_db'); define('DB_USER', 'npubapi2cart_wp'); define('DB_PASSWORD', '6l)*[)P=(S)es$SR'); define('DB_HOST', 'localhost'); define('APP_URL', 'https://app.api2cart.com'); define( 'WPCACHEHOME', '/mnt/ssd/npubapi2cart/public_html/wp-content/plugins/wp-super-cache/'); } elseif ($env == 'beta') { define('DB_NAME', 'bpubapi2_public'); define('DB_USER', 'bpubapi2_user'); define('DB_PASSWORD', 'gm_SG-[C4{MW'); define('DB_HOST', 'localhost'); define('APP_URL', 'http://beta.api2cart.com'); define( 'WPCACHEHOME', '/home/bpubapi2cart/public_html/wp-content/plugins/wp-super-cache/'); } elseif ($env == 'old') { define('DB_NAME', 'api2cart_wpsite'); define('DB_USER', 'api2cart_wpsite'); define('DB_PASSWORD', 'BjAYJ8dFBdF3mrtWJQRpFmncNEU9y9Cw'); define('DB_HOST', 'localhost'); define('APP_URL', 'https://app.api2cart.com'); define( 'WPCACHEHOME', 'www/wp-content/plugins/wp-super-cache/'); } elseif ($env == 'build.server') { define('DB_NAME', 'api2cart_public'); define('DB_USER', 'unittests'); define('DB_PASSWORD', 'unitpass'); define('DB_HOST', 'localhost'); define('APP_URL', 'http://app.api2cart.local'); define( 'WPCACHEHOME', 'www/wp-content/plugins/wp-super-cache/'); } elseif ($env == 'vagrant') { define('DB_NAME', 'api2cart_wpsite'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); define('DB_HOST', 'localhost'); define('APP_URL', 'http://app.api2cart.local'); define( 'WPCACHEHOME', '/var/www/html/wp-content/cache/supercache/'); } else { //local copy define('DB_NAME', 'api2cart_wpsite'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); define('DB_HOST', 'localhost'); define('APP_URL', 'http://app.api2cart.local'); define( 'WPCACHEHOME', '/var/www/html/wp-content/cache/supercache/'); } /** 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 and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} * 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. * * @since 2.6.0 */ define('AUTH_KEY', ',`}c&C-zFW1xP[sRKQz&!b-aHH%l5k&sI;f#,co)n6q*1h=oP=.:lz9fn xdZyg{'); define('SECURE_AUTH_KEY', 'LrGsE]fSFDtdzFRvH)>@ #N .F5okUfe1o>$8[mLX]~2'); define('NONCE_KEY', '5>vi-$l-ydj+_v?Mr3O4iOfscRIn0%/Y5:7:vlw34&Sq$R}i3[)W:z9Q[-1!TaF3'); define('AUTH_SALT', '=#_.7rT9D:+lQyz[rCum6[h?k`9kcY^DmpNfromi49&`z@SyvKu%3 h^cCI^35a@'); define('SECURE_AUTH_SALT', '{_.R#^qNBuX_;g0/1c@_qn>>4b7zxLN9YXIS%lC`0k*N8k=s5V8l{[xT}(Zje}%}'); define('LOGGED_IN_SALT', 'Nn(7`a1Y43z.WJPN^sytMELYqdMy|U4mj++Wzsd>-Hw0yKj&57IV#-7qx^i8~b},'); define('NONCE_SALT', '{2lFonX~7LwFARM7EQGWD`:]ydl6z{)CUhsDu/6p^#8/U#!ca{3*OzZ]N)Y|`+U4'); /**#@-*/ /** * 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', ''); define('FS_METHOD', 'direct'); /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. */ define('WP_DEBUG', false); if ($env == 'production') { //force ssl only on production define('FORCE_SSL_ADMIN', true); } define( 'WP_MEMORY_LIMIT', '5000M' ); define( 'WP_MAX_MEMORY_LIMIT', '5000M' ); /* 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');