webmcp

view demo-app/app/main/_postfork/01-db.lua @ 510:696d7e5f2bcb

Added "Layouts" section to WebMCP documentation and cleaned "Directory structure" section up
author jbe
date Mon Aug 21 03:58:33 2017 +0200 (2017-08-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