summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 16:07:39 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 16:07:39 +0400
commit4cdb81737a5a92245c95ce8d38fddc13635e1d26 (patch)
tree4fb1cf106333ee5f3849c60f400f74e157446327 /include
parent4401813325c8b11ecbc349ac6431948e12e4a629 (diff)
add a knob to disable reload on js change
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 32fc5ae2a..9a3ea4315 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2039,6 +2039,7 @@
$data['cdm_expanded'] = get_pref($link, 'CDM_EXPANDED');
$data['dep_ts'] = calculate_dep_timestamp();
+ $data['reload_on_ts_change'] = !defined('_NO_RELOAD_ON_TS_CHANGE');
if (file_exists(LOCK_DIRECTORY . "/update_daemon.lock")) {