diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:50:49 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:50:49 +0100 |
commit | f226549d4f8f258deca9e165ef857252b79d2ee0 (patch) | |
tree | bad464a81324dfa1272551670a7d561e618a8723 /program/include | |
parent | a95687cfe8ede73033912848d445bb63257d850a (diff) |
Renamed config options: keep_alive to refresh_interval, min_keep_alive to min_refresh_interval
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 4 | ||||
-rw-r--r-- | program/include/rcube_config.php | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 04b87e48c..99a68e81d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -317,8 +317,8 @@ class rcmail extends rcube if (!($this->output instanceof rcube_output_html)) $this->output = new rcube_output_html($this->task, $framed); - // set keep-alive interval - $this->output->set_env('keep_alive', $this->config->get('keep_alive', 0)); + // set refresh interval + $this->output->set_env('refresh_interval', $this->config->get('refresh_interval', 0)); $this->output->set_env('session_lifetime', $this->config->get('session_lifetime', 0) * 60); if ($framed) { diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index 1f165ba4a..bbc3e9c6e 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -43,6 +43,8 @@ class rcube_config 'mail_pagesize' => 'pagesize', 'addressbook_pagesize' => 'pagesize', 'reply_mode' => 'top_posting', + 'refresh_interval' => 'keep_alive', + 'min_refresh_interval' => 'min_keep_alive', ); |