Change cache directory (opensimplf)
This commit is contained in:
parent
0599d7b148
commit
06df02f72b
1 changed files with 5 additions and 1 deletions
|
@ -20,7 +20,11 @@ class PieceJustificativeUploader < CarrierWave::Uploader::Base
|
|||
|
||||
def cache_dir
|
||||
if Rails.env.production?
|
||||
'/tmp/tps-cache'
|
||||
if Features.opensimplif?
|
||||
'/tmp/opensimplif-cache'
|
||||
else
|
||||
'/tmp/tps-cache'
|
||||
end
|
||||
else
|
||||
'/tmp/tps-dev-cache'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue