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:
Jan Kneschke 2006-09-15 12:52:53 +00:00
parent f157915cab
commit 08c093b940
1 changed files with 3 additions and 2 deletions

View File

@ -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);