Skip to content

Instantly share code, notes, and snippets.

@markbain
Last active November 7, 2015 13:57
Show Gist options
  • Save markbain/1004ba130a85207c234d to your computer and use it in GitHub Desktop.
Save markbain/1004ba130a85207c234d to your computer and use it in GitHub Desktop.
WP Config.php file
<?php
error_reporting(0); // otherwise WordPress overwrites the ALERTS set by PHP.INI
@ini_set('display_errors', 0); // otherwise WordPress overwrites the ALERTS set by PHP.INI
define('DB_NAME', '');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
// SALT KEYS
$table_prefix = 'wp_';
define('WPLANG', '');
define('WP_DEBUG', false);
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment