diff options
author | Andrew Dolgov <[email protected]> | 2008-06-24 08:43:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-06-24 08:43:20 +0100 |
commit | a598370dde80604280f1a9708f8427902f376209 (patch) | |
tree | 351e7617d5245abfc672c3fc0895c0e054ba232f /functions.php | |
parent | d16d57ff2b8742c51516fefccc8495260d4738c7 (diff) |
add low bandwidth mode (less automatic requests in the background)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php index b373ca91c..04ddaadbb 100644 --- a/functions.php +++ b/functions.php @@ -1848,6 +1848,7 @@ $_POST["password"] = ""; $_SESSION["language"] = $_POST["language"]; + $_SESSION["bw_limit"] = !!$_POST["bw_limit"]; header("Location: " . $_SERVER["REQUEST_URI"]); exit; @@ -3014,6 +3015,9 @@ print "<param key=\"hide_feedlist\" value=\"" . (int) get_pref($link, "HIDE_FEEDLIST") . "\"/>"; + print "<param key=\"bw_limit\" value=\"". + (int) $_SESSION["bw_limit"]."\"/>"; + print "</init-params>"; } |