summaryrefslogtreecommitdiff
path: root/inc/db.inc.php
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-03-10 15:49:41 +0100
committerPatrick Simianer <p@simianer.de>2016-03-10 15:49:41 +0100
commit5d3f588582ff0bd27df34139e4fae4517c177ba7 (patch)
treef2073f81e500b0540f13c2d0a9df57ed0793c309 /inc/db.inc.php
parentee35a6ec4c43906173446207d4ec441b9eaa461a (diff)
improved help, hid meta stuff, fix db
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);
+
+?>
+