summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-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');