Browse Source

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
svn/tags/lighttpd-1.4.12
Jan Kneschke 15 years ago
parent
commit
08c093b940
  1. 5
      src/mod_cml_lua.c

5
src/mod_cml_lua.c

@ -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…
Cancel
Save