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 11:13:31 +0200
commit010a942025b2cd0a8076e9d343fde72e4cfaaa2c (patch)
tree325ffe5603a061e46bed67a4ac0752dd0d6a1e67
parent10a3972313bc9d7643e8dfa216cdf6329f40695d (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 cb72ae15b..5c3065489 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';
}