aboutsummaryrefslogtreecommitdiff
path: root/src/admin/report/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin/report/header.php')
-rw-r--r--src/admin/report/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin/report/header.php b/src/admin/report/header.php
index 05375bd..50c36af 100644
--- a/src/admin/report/header.php
+++ b/src/admin/report/header.php
@@ -26,7 +26,6 @@ header ("Pragma: no-cache");
//$loc = $_SESSION['loc'];
$loc = $locr = "../..";
-require $locr.'/version.php';
require_once($locr . "/globals.php");
require_once($locr."/db.php");
require_once($locr."/freport.php");
@@ -37,6 +36,7 @@ if(isset($_GET['webcastcode']) && ctype_alnum($_GET['webcastcode'])) {
ob_end_flush();
} else {
header ("Content-Type: text/html; charset=utf-8");
+ require $locr.'/version.php';
if(!ValidSession()) {
InvalidSession($_SERVER['PHP_SELF']);
ForceLoad($loc."/index.php");