-- Kepler bootstrap file -- Defines the default directories for Kepler -- -- $Id: t_kepler_init.lua,v 1.14 2007/10/31 16:50:05 carregal Exp $ -- Library extension used in the system (dll, so etc) local libext = [[dll]] -- Kepler applications directory KEPLER_APPS = [[/usr/local/lua]] -- Kepler configuration directory KEPLER_CONF = [[/usr/local/lua/conf]] -- Kepler logs directory KEPLER_LOG = [[/var/log]] -- Kepler C modules directory KEPLER_LIB = [[/usr/local/lua]] -- Kepler Lua modules directory KEPLER_LUA = [[/usr/local/lua/lib-lua]] -- Kepler temporary directory KEPLER_TMP = [[/var/tmp]] -- Kepler default web directory KEPLER_WEB = [[/www]] --------- end of parameters ------------ -- Allowed globals for CGILua running under Rings RINGS_CGILUA_GLOBALS = { "KEPLER_APPS", "KEPLER_CONF", "KEPLER_LIB", "KEPLER_LOG", "KEPLER_LUA", "KEPLER_TMP", "KEPLER_WEB" } package.path = KEPLER_LUA..[[/?.lua;]]..KEPLER_LUA..[[/?/init.lua;]]..package.path package.cpath = KEPLER_LIB..[[/?.]]..libext..";"..package.cpath