mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-03 17:33:56 +08:00
update 2026-08-09 04:21:56
This commit is contained in:
1 parent
62707c2029
commit
2ead6d3cf2
1994 files changed
+1524120
-950
No files matched your search
@@ -273,7 +273,7 @@ end
|
||||
|
||||
function get_acl_log()
|
||||
local id = http.formvalue("id")
|
||||
local path = "/tmp/log/passwall2_acl_" .. id .. ".log"
|
||||
local path = api.TMP_PATH .. "/acl/" .. id .. "/node.log"
|
||||
if nixio.fs.access(path) then
|
||||
local content = luci.sys.exec("tail -n 5000 '" .. path .. "'")
|
||||
content = content:gsub("\n", "<br />")
|
||||
|
||||
Reference in new issue
Block a user