JohnDoh
2014-08-16 4eee212883b34e1ca7cfb9466580ff20dca5c979
add include_plugin function for optoinal plugins
1 files modified
11 ■■■■■ changed files
program/lib/Roundcube/rcube_plugin.php 11 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_plugin.php
@@ -121,6 +121,17 @@
    }
    /**
     * Attempt to load the given plugin which is optional for the current plugin
     *
     * @param string Plugin name
     * @return boolean True on success, false on failure
     */
    public function include_plugin($plugin_name)
    {
        return $this->api->load_plugin($plugin_name, true, false);
    }
    /**
     * Load local config file from plugins directory.
     * The loaded values are patched over the global configuration.
     *