Fix #5244
git-svn-id: file:///home/svn/framework3/trunk@13551 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5966cf460e
commit
4a7714e1b1
|
@ -162,7 +162,7 @@ class Server
|
|||
|
||||
# Read the file contents, and register it as being served once
|
||||
data = data = ::File.open(fn, "rb") { |fd| fd.read(fd.stat.size) }
|
||||
register_file(fname, data, true)
|
||||
register_file(fname, data)
|
||||
|
||||
# Return the last file in the array
|
||||
return self.files[-1]
|
||||
|
|
Loading…
Reference in New Issue