#936 Then go to configuration an internal error 500 appear
This commit is contained in:
parent
2183ac71f1
commit
4a2f512186
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user