|
|
@ -59,7 +59,7 @@ abstract class rcube_plugin
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$fpath = $this->home.'/'.$fname;
|
|
|
|
$fpath = $this->home.'/'.$fname;
|
|
|
|
$rcmail = rcmail::get_instance();
|
|
|
|
$rcmail = rcmail::get_instance();
|
|
|
|
if (!$rcmail->config->load_from_file($fpath, false)) {
|
|
|
|
if (is_file($fpath) && !$rcmail->config->load_from_file($fpath, false)) {
|
|
|
|
raise_error(array('code' => 527, 'type' => 'php', 'message' => "Failed to load config from $fpath"), true, false);
|
|
|
|
raise_error(array('code' => 527, 'type' => 'php', 'message' => "Failed to load config from $fpath"), true, false);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|