doc: fixed the context for the lua_package_path and lua_package_cpath directives. thanks duhoobo for the report in #297.

This commit is contained in:
Yichun Zhang (agentzh) 2013-10-17 23:20:31 -07:00
Родитель 22ba5b114e
Коммит dad8ba3ab8
3 изменённых файлов: 6 добавлений и 6 удалений

4
README
Просмотреть файл

@ -325,7 +325,7 @@ Directives
default: *The content of LUA_PATH environ variable or Lua's compiled-in
defaults.*
context: *main*
context: *http*
Sets the Lua module search path used by scripts specified by set_by_lua,
content_by_lua and others. The path string is in standard Lua path form,
@ -342,7 +342,7 @@ Directives
default: *The content of LUA_CPATH environment variable or Lua's
compiled-in defaults.*
context: *main*
context: *http*
Sets the Lua C-module search path used by scripts specified by
set_by_lua, content_by_lua and others. The cpath string is in standard

Просмотреть файл

@ -506,7 +506,7 @@ lua_package_path
**default:** *The content of LUA_PATH environ variable or Lua's compiled-in defaults.*
**context:** *main*
**context:** *http*
Sets the Lua module search path used by scripts specified by [set_by_lua](#set_by_lua),
[content_by_lua](#content_by_lua) and others. The path string is in standard Lua path form, and `;;`
@ -523,7 +523,7 @@ lua_package_cpath
**default:** *The content of LUA_CPATH environment variable or Lua's compiled-in defaults.*
**context:** *main*
**context:** *http*
Sets the Lua C-module search path used by scripts specified by [set_by_lua](#set_by_lua),
[content_by_lua](#content_by_lua) and others. The cpath string is in standard Lua cpath form, and `;;`

Просмотреть файл

@ -289,7 +289,7 @@ This directive was first introduced in the <code>v0.8.5</code> release.
'''default:''' ''The content of LUA_PATH environ variable or Lua's compiled-in defaults.''
'''context:''' ''main''
'''context:''' ''http''
Sets the Lua module search path used by scripts specified by [[#set_by_lua|set_by_lua]],
[[#content_by_lua|content_by_lua]] and others. The path string is in standard Lua path form, and <code>;;</code>
@ -303,7 +303,7 @@ As from the <code>v0.5.0rc29</code> release, the special notation <code>$prefix<
'''default:''' ''The content of LUA_CPATH environment variable or Lua's compiled-in defaults.''
'''context:''' ''main''
'''context:''' ''http''
Sets the Lua C-module search path used by scripts specified by [[#set_by_lua|set_by_lua]],
[[#content_by_lua|content_by_lua]] and others. The cpath string is in standard Lua cpath form, and <code>;;</code>