diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index da6c09495..e596c0bd1 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -134,8 +134,8 @@ class rcube_config */ public function load_from_file($fpath) { - if (is_file($fpath)) { - @include($fpath); + if (is_file($fpath) && is_readable($fpath)) { + include($fpath); if (is_array($rcmail_config)) { $this->prop = array_merge($this->prop, $rcmail_config); return true; |