diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-12-11 00:09:00 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-12-11 00:09:00 +0000 |
commit | 0b7cc381df2d64a74159e0f4e405e045e9a72a6d (patch) | |
tree | 90a8bd9de8585e57fd7374a05da70437d30d94ee /lua/mvc.lua | |
parent | 4f4a4cf8d9e4096e4171d848f64993fb3a04f5c5 (diff) | |
download | acf-core-0b7cc381df2d64a74159e0f4e405e045e9a72a6d.tar.bz2 acf-core-0b7cc381df2d64a74159e0f4e405e045e9a72a6d.tar.xz |
Set the PATH environment variable to a standard value
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-x | lua/mvc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index 5524c5b..84fb724 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -9,6 +9,9 @@ module(..., package.seeall) require("posix") format = require("acf.format") +-- For security, set the path +posix.setenv("PATH", "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin") + mvc = {} -- the constructor |