-
Notifications
You must be signed in to change notification settings - Fork 6
Hoksmur edited this page Jan 10, 2015
·
4 revisions
uLuaNode has 2 subsystem:
-
reset parameters and user files
- init.lua - check at start 'ritual dance' and, if it found, do 'hard reset' to default settings.
- main.lua - the main user script
- new.lua - if exist, this file replace main.lua at start
- default.lua - like new.lua, but if need reset parameters
-
http protocol support
- http.lua - the main module's file
- parse.lua - parsing request for extract filename and parameters
- html404.lua - generate answer if file isn't exist
- type(extension).lua - parser for every type file
- (name).pht, (name).html, (script).lua - web content pages. Every called part should retun desired string
- runtime.lua - exmple using