\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) ); if( strpos( $request_uri, '/', 1 ) ) { if( $base == '/' ) { $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 ); } else { $blogcacheid = str_replace( $base, '', $request_uri ); $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) ); } if ( '/' == substr($blogcacheid, -1)) $blogcacheid = substr($blogcacheid, 0, -1); } } } // Array of files that have 'wp-' but should still be cached $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' ); $cache_rejected_uri = array('wp-.*.php', 'index.php'); $cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider'); // Change this to 1 to enable experimental code that tries to serve slightly // out of date content to anon users while a new supercache file is being // generated. $cache_rebuild_files = 0; // DEBUG mode. Change this to your email address to be sent debug emails. // Remove comment (//) to enable and add back to disable. //$wp_cache_debug = "you@example.com"; // Just modify it if you have conflicts with semaphores $sem_id = 5419; if ( '/' != substr($cache_path, -1)) { $cache_path .= '/'; } ?>