/**
 * @version     1.0.0
 * @package     cab-csr-validator
 * @copyright   Copyright (C) 2012. All rights reserved.
 * @license     Licensed under the Apache License, Version 2.0 or later; see LICENSE.md
 * @author      Swisscom (Schweiz) AG
 */
define('__ROOT__', dirname(__FILE__));
header("Cache-Control: no-cache, no-store, must-revalidate");
// HTTP 1.1.
header("Pragma: no-cache");
// HTTP 1.0.
header("Expires: 0");
// Proxies.
require_once __ROOT__ . '/helpers/app.php';
$app = new validator_app();
?>
<!DOCTYPE html>
<html lang="<?php 
echo $app->language;
?>
">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php 
echo $app->getText('TITLE');
?>
</title>
		<!-- Bootstrap -->
<?php

/**
 * @version     1.0.0
 * @package     cab-csr-validator
 * @copyright   Copyright (C) 2012. All rights reserved.
 * @license     Licensed under the Apache License, Version 2.0 or later; see LICENSE.md
 * @author      Swisscom (Schweiz) AG
 */
define('__ROOT__', dirname(__FILE__));
require_once __ROOT__ . '/helpers/app.php';
require_once __ROOT__ . '/helpers/validator-helper.php';
/* New instance of the app class */
$app = new validator_app();
/* New instance of the validator class */
$validator = new validator_helper();
/* Do the request check */
if ($validator->checkRequest()) {
    $response_success = true;
}
?>
<!DOCTYPE html>
<html lang="<?php 
echo $app->language;
?>
">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php