diff options
Diffstat (limited to 'includes/header.php')
-rw-r--r-- | includes/header.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php index 7085aea..368e1c8 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,4 +1,6 @@ <?php
+include_once('includes/datas.php');
+
function htmlHeader($css = array(), $title = 'Pathery', $desc = '', $scripts = array()) {
global $accepted;
$resourceVer = '050513';
@@ -224,7 +226,6 @@ 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');
|