Merge branch 'v2' of github.com:neocities/neocities into v2

This commit is contained in:
Victoria Wang 2014-04-19 15:49:00 -07:00
commit 808ca37c31

2
app.rb
View file

@ -464,7 +464,7 @@ post '/site_files/save/:filename' do |filename|
tempfile.write input
tempfile.close
if current_site.file_site_too_large? tempfile.size
if current_site.file_size_too_large? tempfile.size
halt 'File is too large to fit in your space, it has NOT been saved. Please make a local copy and then try to reduce the size.'
end