mirror of
https://github.com/lxsang/silk.git
synced 2024-12-25 12:38:21 +01:00
support backward compatible with old API
This commit is contained in:
parent
d59268bc01
commit
f4dde9202f
@ -132,6 +132,11 @@ function std.f(path)
|
||||
fcgio:send_file(path)
|
||||
end
|
||||
|
||||
function std.t(...)
|
||||
echo(...)
|
||||
end
|
||||
|
||||
|
||||
function std.html()
|
||||
std.header("Content-Type", "text/html; charset=utf-8")
|
||||
std.header_flush()
|
||||
|
Loading…
Reference in New Issue
Block a user