Mercurial > prosody-modules
comparison mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 180:f29be6c49501
mod_muc_log_http: default theme changed to "prosody", removed old default theme
author | Thilo Cestonaro <thilo@cestona.ro> |
---|---|
date | Thu, 17 Jun 2010 11:22:08 +0200 |
parents | af6143756a9e |
children | 9d4fd01443eb |
comparison
equal
deleted
inserted
replaced
179:af6143756a9e | 180:f29be6c49501 |
---|---|
37 | 37 |
38 --[[ | 38 --[[ |
39 * Default templates for the html output. | 39 * Default templates for the html output. |
40 ]]-- | 40 ]]-- |
41 local html = {}; | 41 local html = {}; |
42 local theme = "default"; | 42 local theme = "prosody"; |
43 | 43 |
44 local function checkDatastorePathExists(node, host, today, create) | 44 local function checkDatastorePathExists(node, host, today, create) |
45 create = create or false; | 45 create = create or false; |
46 local path = data_getpath(node, host, datastore, "dat", true); | 46 local path = data_getpath(node, host, datastore, "dat", true); |
47 path = path:gsub("/[^/]*$", ""); | 47 path = path:gsub("/[^/]*$", ""); |