summaryrefslogtreecommitdiff
path: root/program/include/rcube_plugin.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-11-09 16:18:58 +0000
committerthomascube <thomas@roundcube.net>2009-11-09 16:18:58 +0000
commit3597cc2c1b22dc29fe1169075601c72fa5c8558c (patch)
treeb5f39cee33c800e3bc31bef8538cfbb88a481b80 /program/include/rcube_plugin.php
parent3d770d47ba200fd2b5214b3245e3dc34d8aa33f2 (diff)
Plugins should not overwrite existing config props
Diffstat (limited to 'program/include/rcube_plugin.php')
-rw-r--r--program/include/rcube_plugin.php2
1 files changed, 1 insertions, 1 deletions
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;
}