From 9240c6a7d9053af43fe16629f0a38440c6369fdc Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 24 Jul 2009 08:06:05 -0400
Subject: [PATCH] - support plugin's config file
---
plugins/help/help.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/plugins/help/help.php b/plugins/help/help.php
index 336321c..c02b7e9 100644
--- a/plugins/help/help.php
+++ b/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 @@
{
$rcmail = rcmail::get_instance();
+ $this->load_config();
+
// register UI objects
$rcmail->output->add_handlers(array(
'helpcontent' => array($this, 'content'),
--
Gitblit v1.9.1