wp-super-cache
Last commit date
plugins
17 years ago
Changelog.txt
16 years ago
advanced-cache.php
17 years ago
readme.txt
16 years ago
uninstall.php
16 years ago
wp-cache-base.php
18 years ago
wp-cache-config-sample.php
16 years ago
wp-cache-phase1.php
16 years ago
wp-cache-phase2.php
16 years ago
wp-cache.php
16 years ago
advanced-cache.php
13 lines
| 1 | <?php |
| 2 | # WP SUPER CACHE 0.8.9.1 |
| 3 | function wpcache_broken_message() { |
| 4 | if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) ) |
| 5 | echo "<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->"; |
| 6 | } |
| 7 | |
| 8 | if ( !include_once( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) { |
| 9 | if ( !@is_file( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) |
| 10 | register_shutdown_function( 'wpcache_broken_message' ); |
| 11 | } |
| 12 | ?> |
| 13 |