Created
January 27, 2013 16:47
-
-
Save roybarber/4649197 to your computer and use it in GitHub Desktop.
Wordpress Local Settings Template
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 | |
// Local server settings | |
// Local Database | |
define('DB_NAME', 'client'); | |
define('DB_USER', 'root'); | |
define('DB_PASSWORD', 'root'); | |
define('DB_HOST', 'localhost'); | |
// Overwrites the database to save keep edeting the DB | |
define('WP_HOME','http://client.website.dev'); | |
define('WP_SITEURL','http://client.website.dev'); | |
// Turn on debug for local environment | |
define('WP_DEBUG', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should this not have the closing "?>"?
Here's an example https://gist.github.com/tiernano/4658137