|
@@ -29,7 +29,7 @@ end
|
29
|
29
|
|
30
|
30
|
function init_host(session)
|
31
|
31
|
--
|
32
|
|
- -- Look for action handler in basepaths; do first one
|
|
32
|
+ -- Do host-specific init, if exists
|
33
|
33
|
--
|
34
|
34
|
local init = session.dirs.host .. "/init.lua"
|
35
|
35
|
if file_exists(init) then
|
|
@@ -40,7 +40,7 @@ end
|
40
|
40
|
|
41
|
41
|
function handle(session)
|
42
|
42
|
--
|
43
|
|
- -- Look for action handler in basepaths; do first one
|
|
43
|
+ -- Look for action handler in session dirs; do first one that exists
|
44
|
44
|
--
|
45
|
45
|
local valid = {
|
46
|
46
|
newmail = true,
|