web/wp-content/plugins/wp-super-cache/advanced-cache.php
author hurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 01 Feb 2010 17:28:37 +0000
branchwordpress
changeset 126 9b7d841b551a
parent 109 03b0d1493584
child 194 32102edaa81b
permissions -rw-r--r--
(none)

<?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' );
}
?>