misc/migrate.rb in tdiary-5.2.4 vs misc/migrate.rb in tdiary-5.3.0
- old
+ new
@@ -134,10 +134,10 @@
rescue Exception
if @cgi then
print @cgi.header( 'status' => '500 Internal Server Error', 'type' => 'text/html' )
else
print "Status: 500 Internal Server Error\n"
- print "Content-Type: text/html\n\n"
+ print "content-type: text/html\n\n"
end
puts "<h1>500 Internal Server Error</h1>"
puts "<pre>"
puts CGI::escapeHTML( "#{$!} (#{$!.class})" )
puts ""