Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
50d0e04624
|
@ -463,9 +463,8 @@ EOL
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
files = @web.files_path
|
files = @web.files_path
|
||||||
Dir.foreach(files) do |f|
|
Dir["#{files}/**/*"].each do |f|
|
||||||
next if ['.', '..'].include?(f)
|
zip_out.add "files#{f.sub(files.to_s,'')}", f
|
||||||
zip_out.add "files/#{f}", File.join(files, f)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
FileUtils.rm_rf(Dir[@wiki.storage_path.join(file_prefix + '*.zip').to_s])
|
FileUtils.rm_rf(Dir[@wiki.storage_path.join(file_prefix + '*.zip').to_s])
|
||||||
|
|
Loading…
Reference in a new issue