webmcp

diff framework/env/__init.lua @ 258:46f0083889a9

Initialize global variable 'app' on every request
author jbe
date Sun Mar 15 01:08:00 2015 +0100 (2015-03-15)
parents bcb3aed3a71e
children fc2aba7d5db9
line diff
     1.1 --- a/framework/env/__init.lua	Sun Mar 15 01:06:04 2015 +0100
     1.2 +++ b/framework/env/__init.lua	Sun Mar 15 01:08:00 2015 +0100
     1.3 @@ -48,14 +48,6 @@
     1.4  require 'mondelefant_atom_connector'
     1.5  
     1.6  --[[--
     1.7 -app  -- table to store an application state
     1.8 -
     1.9 -'app' is a global table for storing any application state data
    1.10 ---]]--
    1.11 -app = {}
    1.12 ---//--
    1.13 -
    1.14 ---[[--
    1.15  config  -- table to store application configuration
    1.16  
    1.17  'config' is a global table, which can be modified by a config file of an application to modify the behaviour of that application.

Impressum / About Us