Browse Source

removed duplicate lua-load calls which crash lua 5.0

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1329 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 15 years ago
parent
commit
9ddae28ab5
  1. 6
      src/mod_cml_lua.c

6
src/mod_cml_lua.c

@ -224,12 +224,6 @@ int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn) {
L = luaL_newstate();
luaL_openlibs(L);
luaopen_base(L);
luaopen_table(L);
luaopen_string(L);
luaopen_math(L);
luaopen_io(L);
/* register functions */
lua_register(L, "md5", f_crypto_md5);
lua_register(L, "file_mtime", f_file_mtime);

Loading…
Cancel
Save