From 3597cc2c1b22dc29fe1169075601c72fa5c8558c Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 09 Nov 2009 11:18:58 -0500 Subject: [PATCH] Plugins should not overwrite existing config props --- program/include/rcube_plugin.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_plugin.php b/program/include/rcube_plugin.php index ed30e8f..cb5f8e2 100644 --- a/program/include/rcube_plugin.php +++ b/program/include/rcube_plugin.php @@ -59,7 +59,7 @@ { $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; } -- Gitblit v1.9.1