Skip to content

Instantly share code, notes, and snippets.

@pedrobachiega
Last active December 16, 2015 01:49
Show Gist options
  • Save pedrobachiega/5358302 to your computer and use it in GitHub Desktop.
Save pedrobachiega/5358302 to your computer and use it in GitHub Desktop.
<?php
define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);
define('DB_NAME', 'database_name_here');
define('DB_USER', 'username_here');
define('DB_PASSWORD', 'password_here');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('WP_CACHE', true);
define('ENABLE_CACHE', true);
define('CACHE_EXPIRATION_TIME', 3600); // in seconds
define('EMPTY_TRASH_DAYS', 30);
define('AUTOSAVE_INTERVAL', 180 ); // in seconds
define('WP_POST_REVISIONS', 3);
//@ini_set('log_errors','On');
//@ini_set('display_errors','Off');
//@ini_set('error_log','~/wp-php-error.log');
//define('SAVEQUERIES', true); // Save and Display Database Queries for Analysis
// Authentication Unique Keys and Salts
$table_prefix = 'wp_xpto_';
define('WPLANG', 'pt_BR');
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment