diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-21 13:17:24 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-21 13:17:24 +0000 |
commit | 9f969702ad3564f95eb20fe25950981bc7028851 (patch) | |
tree | dca7d6f8d55b1771fd66b3c0bd8f698ee25d7b05 /crawl-ref/source/maps.cc | |
parent | 6e7c6ae56792add3f8d701eca7d144d96ed19458 (diff) | |
download | crawl-ref-9f969702ad3564f95eb20fe25950981bc7028851.tar.gz crawl-ref-9f969702ad3564f95eb20fe25950981bc7028851.zip |
Override loadfile and dofile in the Lua user-script interpreter so they have to
use datafile_path, and cannot use shell metacharacters (not that it matters)
and ../ paths. Multiple loading is not prevented; we could probably add another
function that does that.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1614 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.cc')
0 files changed, 0 insertions, 0 deletions