webmcp

view demo-app/app/main/_postfork/01-db.lua @ 451:32b79658e5ae

Fixed wrong documentation (no leading slash in request.get_path)
author jbe
date Thu Jul 21 13:01:34 2016 +0200 (2016-07-21)
parents 343f9af7f61f
children
line source
1 local db = assert(mondelefant.connect(config.db))
2 function mondelefant.class_prototype:get_db_conn() return db end
3 _G.db = db
4 execute.inner()
5 db:close()

Impressum / About Us