diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-13 03:09:29 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-13 03:09:29 -0700 |
commit | 9fbb3e859be5efc164a4612f33df6ebb541bea2b (patch) | |
tree | 4d7475e5a9870191ac79a598914547104ae83161 /includes | |
parent | d26206b8dfb2f6c9775c0a7f111e0d4caed53fe7 (diff) | |
download | pathery-9fbb3e859be5efc164a4612f33df6ebb541bea2b.tar.xz |
Whoops that file isn't always there :)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/header.php | 1 |
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');
|