File "startTest.php"
Full path: /home/andyrdhboardrevi/public_html/learn.andyrdhboardreview.com/andy/.wp-cli/startTest.php
File size: 809 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
require_once("../wp-load.php");
if (!session_id()) {
session_start();
}
if(!isset($_SESSION['secureCode']) || !$_SESSION['secureCode'] == 'OK')
{
die('Access Denied');
}
define("ANTI_HACK_PREVENT", true);
include_once("includes/configure.php");
include_once("includes/common.php");
include_once("includes/applicationController.php");
$revValue = 0;
$optValue = "";
if(isset($_SESSION['response'][$_SESSION['question']['current']]))
{
$qResponses = $_SESSION['response'][$_SESSION['question']['current']];
if(!empty($qResponses['qAnswer']))
$optValue = $qResponses['qAnswer'];
if($qResponses['review'] == 1)
$revValue = 1;
}
$footerLinks =1;
include_once("includes/header.php");
include_once("pages/" . $_SESSION['testType']);
include_once("includes/footer.php");
?>