Aleksander Machniak
2014-01-16 531c4d896c6fda2e979e219633078c95b95d83c0
Merge branch 'master' of github.com:roundcube/roundcubemail
2 files modified
11 ■■■■ changed files
program/lib/Roundcube/rcube_ldap.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_plugin.php 9 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_ldap.php
@@ -554,7 +554,7 @@
        }
        else {
            $prop    = $this->group_id ? $this->group_data : $this->prop;
            $base_dn = $this->group_id ? $this->group_base_dn : $this->base_dn;
            $base_dn = $this->group_id ? $prop['base_dn'] : $this->base_dn;
            // use global search filter
            if (!empty($this->filter))
program/lib/Roundcube/rcube_plugin.php
@@ -133,15 +133,8 @@
            return false;
        }
        else if (!$is_local) {
            $fname = $this->ID . '.inc.php';
            // Search plugin_name.inc.php file in any configured path
            if (!$rcube->config->load_from_file($fname)) {
                rcube::raise_error(array(
                    'code' => 527, 'type' => 'php',
                    'file' => __FILE__, 'line' => __LINE__,
                    'message' => "Failed to load $fname config file from any configured path"), true, false);
                return false;
            }
            return $rcube->config->load_from_file($this->ID . '.inc.php');
        }
        return true;