X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/b47d1fbe36d5aeb9b79d6bbaab035ca448a3c3ef..e6fe35a13a73266debac4ce0cc42121b6845ab83:/vendor/plugins/attachment_fu/init.rb?ds=inline 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')