minor bugfix
This commit is contained in:
parent
37e1b0a6c0
commit
a5293ae7a6
|
@ -310,9 +310,9 @@ load_kore_libs(lua_State *L){
|
|||
LUA_PUSH_CONST(L,LOG_INFO);
|
||||
LUA_PUSH_CONST(L,LOG_DEBUG);
|
||||
#ifdef BUILD_PROD
|
||||
lua_pushboolean(1);
|
||||
lua_pushboolean(L,1);
|
||||
#else
|
||||
lua_pushboolean(0);
|
||||
lua_pushboolean(L,0);
|
||||
#endif
|
||||
lua_setfield(L,-2,"PRODUCTION");
|
||||
lua_pop(L,1);
|
||||
|
|
|
@ -13,5 +13,6 @@ int lhttp_request_get_ip(lua_State *L);
|
|||
int lhttp_populate_cookies(lua_State *L);
|
||||
int lhttp_file_get(lua_State *L);
|
||||
int lhttp_populate_multipart_form(lua_State *L);
|
||||
int lkore_log(lua_State *L);
|
||||
void load_kore_libs(lua_State *L);
|
||||
struct http_request* luaL_checkrequest(lua_State *L, int pos);
|
||||
|
|
Loading…
Reference in New Issue