fixed mod_cml + lua 5.1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1304 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
f157915cab
commit
08c093b940
|
@ -221,8 +221,9 @@ int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn) {
|
|||
stream_open(&rm.st, fn);
|
||||
|
||||
/* push the lua file to the interpreter and see what happends */
|
||||
L = lua_open();
|
||||
|
||||
L = luaL_newstate();
|
||||
luaL_openlibs(L);
|
||||
|
||||
luaopen_base(L);
|
||||
luaopen_table(L);
|
||||
luaopen_string(L);
|
||||
|
|
Loading…
Reference in New Issue