summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-01-22 19:49:47 +0400
committerAndrew Dolgov <[email protected]>2013-01-22 19:56:46 +0400
commit8b83bf5fa15cd0acf85d9d34a113ca6cecd3106b (patch)
tree5940748eeb25101a7edd9d4d5be3c91c6743cb08 /include
parent6addc13f46c29674bdf82986319f1aad8abf50cd (diff)
implement fallback _SIMPLE_UPDATE_MODE
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index f3c05fecb..089bbd8a0 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1968,6 +1968,8 @@
$params["csrf_token"] = $_SESSION["csrf_token"];
$params["widescreen"] = (int) $_SESSION["widescreen"];
+ $params['simple_update'] = defined('_SIMPLE_UPDATE_MODE') && _SIMPLE_UPDATE_MODE;
+
return $params;
}