Skip to content

Instantly share code, notes, and snippets.

@roybarber
Created January 27, 2013 16:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save roybarber/4649197 to your computer and use it in GitHub Desktop.
Save roybarber/4649197 to your computer and use it in GitHub Desktop.
Wordpress Local Settings Template
<?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);
@eikeco
Copy link

eikeco commented Feb 26, 2013

Should this not have the closing "?>"?
Here's an example https://gist.github.com/tiernano/4658137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment