mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-06 16:16:48 +01:00
- check is_readable in load_from_file()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user