diff --git a/app/controllers/zipdown_controller.rb b/app/controllers/zipdown_controller.rb index 1ce834f61..d9a9e1def 100644 --- a/app/controllers/zipdown_controller.rb +++ b/app/controllers/zipdown_controller.rb @@ -10,7 +10,7 @@ class ZipdownController < ApplicationController #勿删 before_filter :authorize, :only => [:assort,:download_user_homework] SAVE_FOLDER = "#{Rails.root}/files" OUTPUT_FOLDER = "#{Rails.root}/files/archiveZip" - MAX_PATH = 250 + MAX_PATH = 50 #统一下载功能 def download