summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-25 11:13:31 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-25 12:57:36 +0200
commit2911ca3e96ab3b092e39976a64e519ee20f51f05 (patch)
tree7d7b039cbba82968d70e5edb6e9608dd45079def
parent8b93fc92845d13e17795b9b3a52cdeb81e5340c5 (diff)
Silence possible PHP Warning: file_exists(): open_basedir restriction in effect.
-rw-r--r--program/include/iniset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 090739e21..757fbdba4 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -61,7 +61,7 @@ require_once 'Roundcube/bootstrap.php';
spl_autoload_register('rcmail_autoload');
// include composer autoloader (if available)
-if (file_exists('vendor/autoload.php')) {
+if (@file_exists('vendor/autoload.php')) {
require 'vendor/autoload.php';
}