Fix call_block/index.lua by removing a section of code that is performed by app.lua.

This commit is contained in:
Mark Crane 2013-09-07 22:50:48 +00:00
parent d3ebb46dc6
commit ed5f999943
1 changed files with 2 additions and 7 deletions

View File

@ -58,11 +58,6 @@ This method causes the script to get its manadatory arguments directly from the
end
end
--include config.lua
scripts_dir = string.sub(debug.getinfo(1).source,2,string.len(debug.getinfo(1).source)-(string.len(argv[0])+1));
dofile(scripts_dir.."/resources/functions/config.lua");
dofile(config());
--connect to the database
dofile(scripts_dir.."/resources/functions/database_handle.lua");
dbh = database_handle('system');