Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 136 Bytes
require './db/init'
configure do
set :public_folder, 'public'
end
def sql cmd, *args
$db ||= DB::connect
$db.exec cmd, args
end