Last active
December 15, 2015 17:38
-
-
Save djcommandline/5297388 to your computer and use it in GitHub Desktop.
WP :: PHP :: wp-config
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
/** Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) { | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
} | |
/** Check if there is a local configuration settings file | |
if(file_exists(ABSPATH . 'wp-config.local.php')){ | |
require_once(ABSPATH . 'wp-config.local.php'); | |
} else { | |
define('DB_NAME', 'VALUE'); | |
/* MySQL database username */ | |
define('DB_USER', 'VALUE'); | |
/* MySQL database password */ | |
define('DB_PASSWORD', 'VALUE'); | |
/* MySQL hostname */ | |
define('DB_HOST', 'VALUE'); | |
/* 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', ''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment