Added upload/.placeholder so the directory gets created.

* Modified the main view to ignore the placeholder.
This commit is contained in:
Paul van Tilburg 2010-07-29 23:50:41 +02:00
parent ed2453cc03
commit 56216b3bea
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ module Plemp::Views
end end
end end
UPLOAD_DIR.entries.select { |f| (UPLOAD_DIR + f).file? }.each do |f| UPLOAD_DIR.entries.select { |f| (UPLOAD_DIR + f).file? }.each do |f|
next if f.to_s =~ /^\./
file = UPLOAD_DIR + f file = UPLOAD_DIR + f
id = file.basename.to_s id = file.basename.to_s
if Positions.has_key? id if Positions.has_key? id

View File

@ -0,0 +1 @@
This is a placeholder for Git.