mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2025-02-13 15:02:48 +01:00
update
This commit is contained in:
parent
b4e233a025
commit
91e13fc261
BIN
dist/lua-0.5.2b.tar.gz
vendored
BIN
dist/lua-0.5.2b.tar.gz
vendored
Binary file not shown.
@ -300,7 +300,7 @@ PATH_SEPARATOR = :
|
||||
RANLIB = ranlib
|
||||
SED = /bin/sed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/bash
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
VERSION = 0.5.2b
|
||||
abs_builddir = /src/cwp/ant-plugins/antd-lua-plugin/lib/ann
|
||||
|
@ -62,12 +62,16 @@ void* handle(void* data)
|
||||
lua_settable(L,-3);
|
||||
|
||||
lua_pushstring(L,"root");
|
||||
lua_pushstring(L, __plugin__->htdocs);
|
||||
lua_pushstring(L, rq->client->port_config->htdocs);
|
||||
lua_settable(L,-3);
|
||||
|
||||
lua_pushstring(L,"apiroot");
|
||||
lua_pushstring(L, cnf);
|
||||
lua_settable(L,-3);
|
||||
|
||||
lua_pushstring(L,"tmpdir");
|
||||
lua_pushstring(L, tmpdir());
|
||||
lua_settable(L,-3);
|
||||
|
||||
lua_setglobal(L, "__api__");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user