summaryrefslogtreecommitdiff
path: root/inc/db.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/db.inc.php')
-rw-r--r--inc/db.inc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/db.inc.php b/inc/db.inc.php
new file mode 100644
index 0000000..f08eda5
--- /dev/null
+++ b/inc/db.inc.php
@@ -0,0 +1,8 @@
+<?php
+
+$SESSION_DIR="/fast_scratch/simianer/lfpe/sessions";
+$json = file_get_contents($SESSION_DIR."/".$_GET["key"]."/data.json");
+$db = json_decode($json);
+
+?>
+