#936 Then go to configuration an internal error 500 appear

This commit is contained in:
Karel Pičman 2019-01-02 14:09:19 +01:00
parent 2183ac71f1
commit 4a2f512186

View File

@ -83,12 +83,12 @@
<% rescue %>
<p class="warning"><%= l(:error_file_can_not_be_created) %></p>
<% ensure %>
<% File.delete(testfilename) if File.exist?(testfilename) %>
<% FileUtils.rm_rf(testfilename) %>
<% end %>
<% end %>
<p>
<%= content_tag(:label, l(:label_tmpdir)) %>
<%= content_tag(:label, l(:label_tmpdir)) %>
<%
tmpdir = @settings['dmsf_tmpdir'].strip if @settings['dmsf_tmpdir'].present?
tmpdir = Dir.tmpdir if tmpdir.blank?