Advertisement
orfen

wp-config.php

Sep 15th, 2014
5,739
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define('WP_STAGE', 'local');
  2.  
  3. $overrideFile = dirname(__FILE__) . '/wp-config-' . WP_STAGE . '.php';
  4. if (file_exists($overrideFile)) {
  5.     require_once $overrideFile;
  6. } else {
  7.     # Database Configuration
  8.    define('DB_NAME', 'app_db');
  9.     define('DB_USER', 'app_user');
  10.     define('DB_PASSWORD', 'app_user_password');
  11.     define('DB_HOST', '127.0.0.1');
  12.     define('DB_CHARSET', 'utf8');
  13.     $table_prefix = 'wp_';
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement