128
128
if File.readable?( path ) then
131
@sf_filters << TDiary::Filter::const_get("#{File::basename(filename, ".rb").capitalize}Filter")::new(@cgi, @conf, @logger)
131
@sf_filters << TDiary::Filter::const_get("#{File::basename(filename, ".rb").capitalize}Filter")::new(@cgi, @conf)
132
132
plugin_path = "#{dir}/plugin/#{filename}"
133
133
load_plugin(plugin_path) if File.readable?(plugin_path)