Mercurial Hosting > luan
changeset 328:71e4f4ce74a3
load "site:/init" on webserver initialization
git-svn-id: https://luan-java.googlecode.com/svn/trunk@329 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 19 Mar 2015 07:18:49 +0000 |
parents | 0be73ac9103d |
children | 7b813a1d562b |
files | web/src/luan/modules/web/Web_server.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r 0be73ac9103d -r 71e4f4ce74a3 web/src/luan/modules/web/Web_server.luan --- a/web/src/luan/modules/web/Web_server.luan Thu Mar 19 05:36:05 2015 +0000 +++ b/web/src/luan/modules/web/Web_server.luan Thu Mar 19 07:18:49 2015 +0000 @@ -83,7 +83,7 @@ luan_handler.setWelcomeFile(welcome_file) server = Server.new(port) server.setHandler(hc) - Package.load("site:/"..welcome_file) + Package.load("site:/init") end function start()