Skip to content

Instantly share code, notes, and snippets.

@travisward
Created May 24, 2012 19:32
Show Gist options
  • Save travisward/2783732 to your computer and use it in GitHub Desktop.
Save travisward/2783732 to your computer and use it in GitHub Desktop.
Some folks like to hide the 'meat' of their wp-config files
include('/var/www/vhosts/domain.com/filename.php');
/** WordPress likes the language defined here */
define ('WPLANG', '');
/** 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