diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-11 10:32:05 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-11 10:32:05 +0100 |
commit | 77de23fa939338546a3e049459ffd29edd9058c2 (patch) | |
tree | 73addba7ddbbf0bc13b5f12f900c91d7584bdf2f /index.php | |
parent | aa83596b0bec71af8d96ee346d7a625709bf0750 (diff) |
Added cross-task 'refresh' request for system state updates
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -249,7 +249,6 @@ $plugin = $RCMAIL->plugins->exec_hook('ready', array('task' => $RCMAIL->task, 'a $RCMAIL->set_task($plugin['task']); $RCMAIL->action = $plugin['action']; - // handle special actions if ($RCMAIL->action == 'keep-alive') { $OUTPUT->reset(); @@ -282,7 +281,8 @@ while ($redirects < 5) { else if (($stepfile = $RCMAIL->get_action_file()) && is_file($incfile = INSTALL_PATH . 'program/steps/'.$RCMAIL->task.'/'.$stepfile) ) { - include $incfile; + // include action file only once (in case it don't exit) + include_once $incfile; $redirects++; } else { |