thomascube
2011-01-18 0501b637a3177cce441166b5fcfe27c9bd9fbe0f
program/include/rcube_plugin.php
@@ -84,6 +84,19 @@
   */
  abstract function init();
  
  /**
   * Attempt to load the given plugin which is required for the current plugin
   *
   * @param string Plugin name
   * @return boolean True on success, false on failure
   */
  public function require_plugin($plugin_name)
  {
    return $this->api->load_plugin($plugin_name);
  }
  /**
   * Load local config file from plugins directory.
   * The loaded values are patched over the global configuration.