aboutsummaryrefslogtreecommitdiff
path: root/src/lib/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/lua')
-rw-r--r--src/lib/lua/luaconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/lua/luaconf.h b/src/lib/lua/luaconf.h
index 22418f3..c0cfb0f 100644
--- a/src/lib/lua/luaconf.h
+++ b/src/lib/lua/luaconf.h
@@ -174,8 +174,10 @@
** non-conventional directories.
*/
#define LUA_ROOT "sys:/lua/"
+#define LUA_APPROOT "app:/"
#define LUA_PATH_DEFAULT \
LUA_ROOT"?.lua;" LUA_ROOT"?/init.lua;" \
+ LUA_APPROOT"?.lua;" LUA_APPROOT"?/init.lua;" \
"./?.lua;" "./?/init.lua"
#define LUA_CPATH_DEFAULT \
LUA_ROOT"?.so;" "./?.so"