Skip to content

Instantly share code, notes, and snippets.

@markbain
Created July 1, 2015 08:58
Show Gist options
  • Select an option

  • Save markbain/4e216af02104e87f6b7a to your computer and use it in GitHub Desktop.

Select an option

Save markbain/4e216af02104e87f6b7a to your computer and use it in GitHub Desktop.

#My sample wp-config.php#

<?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', '');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
// SALT KEYS
$table_prefix = 'wp_';
define('WPLANG', '');
define('WP_DEBUG', true);
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