From 3597cc2c1b22dc29fe1169075601c72fa5c8558c Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 9 Nov 2009 16:18:58 +0000 Subject: Plugins should not overwrite existing config props --- program/include/rcube_plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_plugin.php') diff --git a/program/include/rcube_plugin.php b/program/include/rcube_plugin.php index ed30e8f17..cb5f8e256 100644 --- a/program/include/rcube_plugin.php +++ b/program/include/rcube_plugin.php @@ -59,7 +59,7 @@ abstract class rcube_plugin { $fpath = $this->home.'/'.$fname; $rcmail = rcmail::get_instance(); - if (!$rcmail->config->load_from_file($fpath)) { + if (!$rcmail->config->load_from_file($fpath, false)) { raise_error(array('code' => 527, 'type' => 'php', 'message' => "Failed to load config from $fpath"), true, false); return false; } -- cgit v1.2.3