time() ) { $meta = new CacheMeta; if (! ($meta = unserialize(@file_get_contents($meta_pathname))) ) return; foreach ($meta->headers as $header) { header($header); } $log = "\n"; if ( !($content_size = @filesize($cache_file)) > 0 || $mtime < @filemtime($cache_file)) return; if ($meta->dynamic) { include($cache_file); } else { /* No used to avoid problems with some PHP installations $content_size += strlen($log); header("Content-Length: $content_size"); */ if(!@readfile ($cache_file)) return; } echo $log; die; } $file_expired = true; // To signal this file was expired } function wp_cache_postload() { global $cache_enabled; if (!$cache_enabled) return; require(ABSPATH . 'wp-content/plugins/wp-cache/wp-cache-phase2.php'); wp_cache_phase2(); } function wp_cache_get_cookies_values() { global $passingthrough, $nevershowads; $string = ''; while ($key = key($_COOKIE)) { if (preg_match("/^wp-postpass|^wordpress|^comment_author_email_/", $key)) { $string .= $_COOKIE[$key] . ","; } next($_COOKIE); } reset($_COOKIE); if( $string != '' ) return $string; if( $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] == 1 ) { $string = 'searchengine'; } elseif( $_SERVER[ 'HTTP_REFERER' ] != '' ) { if( is_array( $passingthrough ) == false ) return $string; foreach( $passingthrough as $url ) { if( strpos( $_SERVER[ 'HTTP_REFERER' ], $url ) ) { reset( $nevershowads ); $se = false; foreach( $nevershowads as $whitesite ) { if( false == strpos( $_SERVER[ 'HTTP_REFERER' ], $whitesite ) ) { $se = true; } } if( $se ) { $string = 'searchengine'; setcookie( '7a1254cba80da02d5478d91cfd0a873a', 1, time()+3600, '/' ); } } } } return $string; } ?>