web/wp-content/plugins/wp-super-cache/advanced-cache.php
author hurons@caf4f556-3d62-0410-8435-a86758001935
Tue, 05 Jan 2010 09:59:49 +0000
branchwordpress
changeset 112 fb7cd02b9848
parent 109 03b0d1493584
child 194 32102edaa81b
permissions -rw-r--r--
clean all inactive plugin in the plugin rep

<?php
# WP SUPER CACHE 0.8.9.1
function wpcache_broken_message() {
	if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
		echo "<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->";
}

if ( !include_once( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) {
	if ( !@is_file( 'CACHEHOME' . 'wp-cache-phase1.php' ) )
		register_shutdown_function( 'wpcache_broken_message' );
}
?>