/** * Load plugin configuration from database * * @param string $pi_name Plugin name * @return boolean true on success, otherwise false * @see plugin_initconfig_nexform * */ function plugin_load_configuration_nexform($pi_name) { global $_CONF; $base_path = $_CONF['path'] . 'plugins/' . $pi_name . '/'; require_once $_CONF['path_system'] . 'classes/config.class.php'; require_once $base_path . 'install_defaults.php'; return plugin_initconfig_nexform(); }
/** * Loads the configuration records for the GL Online Config Manager * * @return boolean true = proceed with install, false = an error occured * */ function plugin_load_configuration() { global $_CONF, $base_path, $CONF_FE_DEFAULT; require_once $_CONF['path_system'] . 'classes/config.class.php'; require_once $base_path . 'install_defaults.php'; return plugin_initconfig_nexform(); }