Thomas Bruederli
2015-05-27 4ab77dd13e106553a7c92d24aaa6799935517a8b
Check for PEAR class before accessing it. With new composer modules this isn't necessary in the include path anymore
1 files modified
5 ■■■■■ changed files
program/lib/Roundcube/bootstrap.php 5 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/bootstrap.php
@@ -99,8 +99,9 @@
spl_autoload_register('rcube_autoload');
// set PEAR error handling (will also load the PEAR main class)
@PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'rcube_pear_error');
if (class_exists('PEAR')) {
    PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'rcube_pear_error');
}
/**