mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-23 17:19:47 +02:00
minor fixes
This commit is contained in:
@ -52,7 +52,7 @@ function IndexController:actionnotfound(...)
|
||||
end
|
||||
|
||||
function IndexController:pdf(...)
|
||||
local tmp_file = "/tmp/lxsang_cv.pdf"
|
||||
local tmp_file = WWW_ROOT.."/lxsang_cv.pdf"
|
||||
local cmd = "wkhtmltopdf "..HTTP_ROOT.."/index/notoc "..tmp_file
|
||||
local r = os.execute(cmd)
|
||||
if r then
|
||||
|
Reference in New Issue
Block a user