webmcp

view demo-app/app/main/_postfork/01-db.lua @ 372:32b64f641761

Workaround for issue with noncompliant (_GNU_SOURCE) strerror_r() implementation
author jbe
date Sat Aug 22 18:19:11 2015 +0200 (2015-08-22)
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