use nginx variable to get magick (#20)
* use nginx variable to get magick * remove comments
This commit is contained in:
@@ -51,6 +51,7 @@ while true do
|
||||
table.insert(files, file_name)
|
||||
end
|
||||
-- 这里要重置一下file_name,否则后面的文件保存时会导致前面已保存的文件变成空文件
|
||||
-- file:flush() 和 io.flush() 都没效果
|
||||
file_name = nil
|
||||
file = nil
|
||||
elseif typ == "eof" then
|
||||
|
||||
Reference in New Issue
Block a user