<?php
/**
 * 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
 */

//exit;


//echo "<!-- ";

//var_dump($_SERVER);

//echo "-->";
//exit;

if ($_SERVER['HTTP_HOST'] == "www.kronet.net" || $_SERVER['HTTP_HOST'] == "kronet.net") {

	header( "HTTP/1.1 301 Moved Permanently" );
	header('Location: https://beta.kronikoensarea.net');
exit;
}

if(!$_SERVER["HTTPS"]) {

	header('Location: https://beta.kronikoensarea.net');
exit;
}//it; //?"https://":"http://")

define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
