| | |
| | | // trigger hook with final HTML content to be sent |
| | | $hook = $this->app->plugins->exec_hook("send_page", array('content' => $output)); |
| | | if (!$hook['abort']) { |
| | | if ($this->charset != RCMAIL_CHARSET) { |
| | | echo rcube_charset::convert($hook['content'], RCMAIL_CHARSET, $this->charset); |
| | | if ($this->charset != RCUBE_CHARSET) { |
| | | echo rcube_charset::convert($hook['content'], RCUBE_CHARSET, $this->charset); |
| | | } |
| | | else { |
| | | echo $hook['content']; |
| | |
| | | 'about.html', |
| | | ); |
| | | foreach ($filenames as $file) { |
| | | $fn = RCUBE_CONFIG_DIR . '/' . $file; |
| | | $fn = RCUBE_CONFIG_DIR . $file; |
| | | if (is_readable($fn)) { |
| | | $content = file_get_contents($fn); |
| | | $content = $this->parse_conditions($content); |