Index: wp-settings.php
===================================================================
--- wp-settings.php	(revision 12162)
+++ wp-settings.php	(working copy)
@@ -217,7 +217,7 @@
 }
 
 // For an advanced caching plugin to use, static because you would only want one
-if ( defined('WP_CACHE') )
+if ( defined('WP_CACHE') && WP_CACHE )
 	@include WP_CONTENT_DIR . '/advanced-cache.php';
 
 /**
