<?php

// Temporal.
if (isset($_GET['oldsite'])) { 		  //7 dies
    setcookie('oldsite', '1', time() + (7 * 24 * 60 * 60), '/');
    $_COOKIE['oldsite'] = '1';
}

if (empty($_COOKIE['oldsite'])) {
    header('Location: /comingsoon.html');
    exit;
}

/**
 * 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
 */
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
