From 1fe76ba743a3418da9a0883b29756d442384d0bc Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 25 Sep 2014 10:33:47 +0200 Subject: init --- bootstrap/index.php | 122 ---------------------------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 bootstrap/index.php (limited to 'bootstrap/index.php') diff --git a/bootstrap/index.php b/bootstrap/index.php deleted file mode 100644 index 21cbda7..0000000 --- a/bootstrap/index.php +++ /dev/null @@ -1,122 +0,0 @@ -getToken($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]. $_SERVER["QUERY_STRING"], $a); - if ( $c->exists($token)){ - header("X-Cache: Hit"); - echo $c->getValue($token); - ob_end_flush(); - exit; - } -} else { - header("X-Cache: Miss "); -} - -$db = new db(); -if ( ! isset($_SESSION["username"])) - $u = null; -else - $u = $_SESSION["username"]; - -$user = new jg($u); -?> - - -
- - - - - echo " -