From 8fd2090e0ded186042fb409f1e0527270793dcca Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 24 Jul 2009 12:06:05 +0000 Subject: - support plugin's config file git-svn-id: https://svn.roundcube.net/trunk@2797 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/plugins/help/help.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roundcubemail/plugins/help/help.php') 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'), -- cgit v1.2.3