liquid_feedback_frontend

changeset 1106:e047ad7fe139

Added example config for admin logger
author bsw
date Mon Nov 10 17:44:49 2014 +0100 (2014-11-10)
parents 1b4bda1107b9
children f72232292c0f
files config/example.lua
line diff
     1.1 --- a/config/example.lua	Mon Nov 10 17:35:48 2014 +0100
     1.2 +++ b/config/example.lua	Mon Nov 10 17:44:49 2014 +0100
     1.3 @@ -238,6 +238,24 @@
     1.4    end
     1.5  }
     1.6  
     1.7 +-- Admin logger
     1.8 +-- ------------------------------------------------------------------------
     1.9 +-- Logging administrative activities
    1.10 +-- disabled by default
    1.11 +
    1.12 +--[[
    1.13 +config.admin_logger = function(params)
    1.14 +
    1.15 +  local adminid = app.session.member_id
    1.16 +  local adminname = app.session.member.name
    1.17 +  local url = data._webmcp_path
    1.18 +  
    1.19 +  -- do something (e.g. calling 'logger' via extos.pfilter)
    1.20 +
    1.21 +end
    1.22 +--]]
    1.23 +
    1.24 +
    1.25  -- WebMCP accelerator
    1.26  -- uncomment the following two lines to use C implementations of chosen
    1.27  -- functions and to disable garbage collection during the request, to

Impressum / About Us