aboutsummaryrefslogtreecommitdiff
path: root/old/webcast/config.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
commit02b4aacc81613792b0fa618692145dc1e2989e42 (patch)
treeda7e9da7a587e8ffa9032ebf02a1022a315e9305 /old/webcast/config.php
parente1b61094597488dcb3ef166013186b07bf379d76 (diff)
downloadboca-02b4aacc81613792b0fa618692145dc1e2989e42.tar.gz
boca-02b4aacc81613792b0fa618692145dc1e2989e42.zip
removal of old files, preparation for https
Diffstat (limited to 'old/webcast/config.php')
-rw-r--r--old/webcast/config.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/old/webcast/config.php b/old/webcast/config.php
deleted file mode 100644
index b16deb6..0000000
--- a/old/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") {
- 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)
- $freezeTime = $ct['siteduration'];
-else
- $freezeTime = $ct['sitelastmilescore'];
-
-?>