X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/a38724bea6c09b479a93948b6ef4ef61edd24f39..e75d29998f5348be83dde4b6fd8f5aa437c2dc74:/vendor/plugins/attachment_fu/init.rb diff --git a/vendor/plugins/attachment_fu/init.rb b/vendor/plugins/attachment_fu/init.rb index 0239e56..dadcb07 100644 --- a/vendor/plugins/attachment_fu/init.rb +++ b/vendor/plugins/attachment_fu/init.rb @@ -11,4 +11,6 @@ end require 'geometry' ActiveRecord::Base.send(:extend, Technoweenie::AttachmentFu::ActMethods) Technoweenie::AttachmentFu.tempfile_path = ATTACHMENT_FU_TEMPFILE_PATH if Object.const_defined?(:ATTACHMENT_FU_TEMPFILE_PATH) -FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path \ No newline at end of file +FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path + +$:.unshift(File.dirname(__FILE__) + '/vendor')