Project

General

Profile

« Previous | Next » 

Revision 2cb97830

Added by Marc Dequènes about 14 years ago

  • ID 2cb9783056d36e1b4862e5af7fb4cbd019cf2485

[evol] use a plugins-pecific include dir to share functions among plugins easily (closes #36)

View differences:

lib/ldap_shadows/config.rb
}
shadow.set_config(config)
include_path = File.join(shadow_config_path, "plugins", "includes")
$:.unshift(include_path) if File.directory?(include_path)
load_element_config(shadow_config_path, 'aspects') do |c_name, c_config|
shadow.add_aspect(c_name, c_config)
end

Also available in: Unified diff