Permalink
Browse files

Pull in a memcached config from memcached.php if it exists.

  • Loading branch information...
1 parent 972fd41 commit d61b65e5caa4ffe83c246ccab802b11fb65c378b @markjaquith committed Jun 5, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 wp-config.php
View
@@ -63,6 +63,12 @@
// 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
// ===================

0 comments on commit d61b65e

Please sign in to comment.