From d61b65e5caa4ffe83c246ccab802b11fb65c378b Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 5 Jun 2012 12:48:30 -0400 Subject: [PATCH] Pull in a memcached config from memcached.php if it exists. --- wp-config.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wp-config.php b/wp-config.php index 71a071a..be901af 100644 --- a/wp-config.php +++ b/wp-config.php @@ -63,6 +63,12 @@ define( 'WP_DEBUG_DISPLAY', false ); // define( 'SAVEQUERIES', true ); // define( 'WP_DEBUG', true ); +// ====================================== +// Load a Memcached config if we have one +// ====================================== +if ( file_exists( dirname( __FILE__ ) . '/memcached.php' ) ) + $memcached_servers = include( dirname( __FILE__ ) . '/memcached.php' ); + // =================== // Bootstrap WordPress // ===================