webmcp
diff framework/env/locale/_get_translation_table.lua @ 209:2cb27106aa73
Removed functions request.get_config, request.get_app_basepath, request.get_app_name
author | jbe |
---|---|
date | Sat Jan 10 00:19:38 2015 +0100 (2015-01-10) |
parents | 3d43a5cf17c1 |
children | 4e69ce9a6365 |
line diff
1.1 --- a/framework/env/locale/_get_translation_table.lua Sat Jan 10 00:11:52 2015 +0100 1.2 +++ b/framework/env/locale/_get_translation_table.lua Sat Jan 10 00:19:38 2015 +0100 1.3 @@ -8,7 +8,7 @@ 1.4 if translation_table then 1.5 return translation_table 1.6 end 1.7 - local filename = encode.file_path(request.get_app_basepath(), "locale", "translations." .. language_code .. ".lua") 1.8 + local filename = encode.file_path(WEBMCP_BASE_PATH, "locale", "translations." .. language_code .. ".lua") 1.9 local func 1.10 if _ENV then 1.11 func = assert(loadfile(filename), nil, {})