diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-24 12:06:05 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-24 12:06:05 +0000 |
| commit | 8fd2090e0ded186042fb409f1e0527270793dcca (patch) | |
| tree | d7d24e4ddd17c0e489f567c615b8e41424caf67f /roundcubemail/plugins/help/help.php | |
| parent | 97430f7aed543c5c04d172ec385a7b0dc5574888 (diff) | |
- support plugin's config file
git-svn-id: https://svn.roundcube.net/trunk@2797 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/plugins/help/help.php')
| -rw-r--r-- | roundcubemail/plugins/help/help.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/plugins/help/help.php b/roundcubemail/plugins/help/help.php index 336321c88..c02b7e991 100644 --- a/roundcubemail/plugins/help/help.php +++ b/roundcubemail/plugins/help/help.php @@ -6,11 +6,10 @@ * @author Aleksander 'A.L.E.C' Machniak * @licence GNU GPL * - * Enable the plugin in config/main.inc.php and set Help content iframe source - * $rcmail_config['help_source'] = 'http://trac.roundcube.net/wiki'; + * Configuration (see config.inc.php.dist) * **/ - + class help extends rcube_plugin { function init() @@ -42,6 +41,8 @@ class help extends rcube_plugin { $rcmail = rcmail::get_instance(); + $this->load_config(); + // register UI objects $rcmail->output->add_handlers(array( 'helpcontent' => array($this, 'content'), |
