Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d61b65e5caa4ffe83c246ccab802b11fb65c378b 1 parent 972fd41
@markjaquith authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 wp-config.php
View
6 wp-config.php
@@ -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
// ===================
Please sign in to comment.
Something went wrong with that request. Please try again.