Follow-up on bb67eb3 (removed cfg)

This commit is contained in:
Timo Smit 2016-08-07 19:09:53 +02:00
parent ea90a08989
commit c9c971bc30

View file

@ -32,7 +32,7 @@ function db.oninit()
elseif settings.get("db_type") == "sqlite3" then
con = require "luascripts.wolfadmin.db.sqlite3"
else
con = require "luascripts.wolfadmin.db.cfg"
error("invalid database system (choose mysql, sqlite3)")
end
setmetatable(db, {__index = con})