summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-13 03:09:29 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-03-13 03:09:29 -0700
commit9fbb3e859be5efc164a4612f33df6ebb541bea2b (patch)
tree4d7475e5a9870191ac79a598914547104ae83161
parentd26206b8dfb2f6c9775c0a7f111e0d4caed53fe7 (diff)
downloadpathery-9fbb3e859be5efc164a4612f33df6ebb541bea2b.tar.xz
Whoops that file isn't always there :)
-rw-r--r--includes/header.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/header.php b/includes/header.php
index 5f0f679..f8519a1 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -206,6 +206,7 @@ function userDataToJS() {
$r .= '"ID":"-1","accepted":false,"hasInsaneSpeed":false};';
} else {
$userID = $_SESSION['userID'];
+ include_once('includes/datas.php');
$hasInsaneSpeed = hasExtrasUnlock($userID, UNLOCK_EXTRAS, MISC_UNLOCK_INSANE_SPEED);
$r .= 'hasInsaneSpeed":'.$hasInsaneSpeed.'};'."\n";
$json = array('ID' => 'fat');