diff options
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 6eee0bec5..a1eb54587 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -214,6 +214,12 @@ else { } } +// we're ready, user is authenticated and the request is safe +$plugin = $RCMAIL->plugins->exec_hook('ready', array('task' => $RCMAIL->task, 'action' => $RCMAIL->action)); +$RCMAIL->set_task($plugin['task']); +$RCMAIL->action = $plugin['action']; + + // handle special actions if ($RCMAIL->action == 'keep-alive') { $OUTPUT->reset(); |
