Mercurial Hosting > luan
diff src/luan/host/WebHandler.java @ 1392:002152af497a
hosted postgres
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 06 Sep 2019 00:19:47 -0600 |
parents | 5c3702f60200 |
children | 221eedb0f54e |
line wrap: on
line diff
--- a/src/luan/host/WebHandler.java Thu Sep 05 01:29:57 2019 -0600 +++ b/src/luan/host/WebHandler.java Fri Sep 06 00:19:47 2019 -0600 @@ -33,7 +33,7 @@ Luan luan = new Luan(); Log4j.newLoggerRepository(luan); - initLuan(luan,dirStr,domain,true); + initLuan(luan,dirStr,domain); return new LuanHandler(luan); } }; @@ -79,11 +79,11 @@ return true; } */ - private static void initLuan(Luan luan,String dir,String domain,boolean logging) { + private static void initLuan(Luan luan,String dir,String domain) { security(luan,dir); try { LuanFunction fn = BasicLuan.load_file(luan,"classpath:luan/host/init.luan"); - fn.call(dir,domain,logging); + fn.call(dir,domain); } catch(LuanException e) { throw new LuanRuntimeException(e); }