Browse Source

Added upload/.placeholder so the directory gets created.

* Modified the main view to ignore the placeholder.
master
Paul van Tilburg 12 years ago
parent
commit
56216b3bea
  1. 1
      plemp.rb
  2. 1
      upload/.placeholder

1
plemp.rb

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

1
upload/.placeholder

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