mirror of
https://github.com/lxsang/silk.git
synced 2024-12-26 04:48: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)
|
fcgio:send_file(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function std.t(...)
|
||||||
|
echo(...)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
function std.html()
|
function std.html()
|
||||||
std.header("Content-Type", "text/html; charset=utf-8")
|
std.header("Content-Type", "text/html; charset=utf-8")
|
||||||
std.header_flush()
|
std.header_flush()
|
||||||
|
Loading…
Reference in New Issue
Block a user