Mercurial > prosody-hg
comparison main.lua @ 433:afbf29498123
Fix to make a global configmanager instance
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 26 Nov 2008 23:12:05 +0000 |
| parents | b5b4ec28feec |
| children | 193f9dd64f17 |
comparison
equal
deleted
inserted
replaced
| 432:fb19a5c14d44 | 433:afbf29498123 |
|---|---|
| 1 pcall(require, "luarocks.require") | 1 pcall(require, "luarocks.require") |
| 2 | 2 |
| 3 local config = require "core.configmanager" | 3 config = require "core.configmanager" |
| 4 log = require "util.logger".init("general"); | 4 log = require "util.logger".init("general"); |
| 5 | 5 |
| 6 do | 6 do |
| 7 -- TODO: Check for other formats when we add support for them | 7 -- TODO: Check for other formats when we add support for them |
| 8 -- Use lfs? Make a new conf/ dir? | 8 -- Use lfs? Make a new conf/ dir? |
