diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-20 07:50:12 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-20 07:50:12 +0000 |
| commit | 15e675f4133d03cf1cb64497692f8816b5ca8494 (patch) | |
| tree | fe95fee2557d9bed87d06562ae14c4484c3512bb | |
| parent | 69ded50fd8a2f1275523e55cca605a6f00ae435d (diff) | |
- check is_readable in load_from_file()
git-svn-id: https://svn.roundcube.net/trunk@2665 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_config.php b/roundcubemail/program/include/rcube_config.php index da6c09495..e596c0bd1 100644 --- a/roundcubemail/program/include/rcube_config.php +++ b/roundcubemail/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; |
