Skip to content
ReFreezed edited this page Jun 30, 2018 · 12 revisions

LuaWebGen Reference

See the sidebar for all topics.

Notes

You can use any standard Lua library normally in your code, like io and os (including lfs and socket).

You cannot add you own globals directly - use the scripts folder to define global functions, and the data folder to store globally accessible data. The idea is that this restriction should prevent accidental global access.

The output folder is automatically cleaned from files and folders that do not exist in the content folder, so it's not a good idea to save files in the output folder.

Clone this wiki locally