aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.2/src/webcast/config.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-11-07 15:25:18 +0000
committercassiopc <cassiopc@gmail.com>2012-11-07 15:25:18 +0000
commit861ca8a5878d70549dae12b1ea84c5433e2372a6 (patch)
tree235e96e953d2b4b1ba0823a0c95af7050896c6d5 /boca-1.5.2/src/webcast/config.php
parentf099cf6214a24104e4b3d66bbda110cdb1703ac2 (diff)
downloadboca-861ca8a5878d70549dae12b1ea84c5433e2372a6.tar.gz
boca-861ca8a5878d70549dae12b1ea84c5433e2372a6.zip
inclusion of webcast file download option at admin/report
Diffstat (limited to 'boca-1.5.2/src/webcast/config.php')
-rw-r--r--boca-1.5.2/src/webcast/config.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/boca-1.5.2/src/webcast/config.php b/boca-1.5.2/src/webcast/config.php
deleted file mode 100644
index 2a4ba7e..0000000
--- a/boca-1.5.2/src/webcast/config.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-$loc = $locr = "..";
-require_once("$locr/globals.php");
-require_once("$locr/db.php");
-if(!ValidSession()) {
- InvalidSession("webcast/index.php");
- ForceLoad("$loc/index.php");
-}
-if($_SESSION["usertable"]["usertype"] != "admin" && $_SESSION["usertable"]["usertype"] != "score") {
- IntrusionNotify("webcast/index.php");
- ForceLoad("$loc/index.php");
-}
-
-$contest = $_SESSION["usertable"]["contestnumber"];
-$site = $_SESSION["usertable"]["usersitenumber"];
-
-if(($ct = DBSiteInfo($contest, $site)) == null)
- ForceLoad("../index.php");
-
-if(isset($_GET['full']) && $_GET['full'] > 0 && $_SESSION["usertable"]["usertype"] == "admin")
- $freezeTime = $ct['siteduration'];
-else
- $freezeTime = $ct['sitelastmilescore'];
-
-?>