Added upload/.placeholder so the directory gets created.
* Modified the main view to ignore the placeholder.
This commit is contained in:
parent
ed2453cc03
commit
56216b3bea
1
plemp.rb
1
plemp.rb
|
@ -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
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
This is a placeholder for Git.
|
Reference in New Issue