Mercurial Hosting > luan
comparison src/luan/host/WebHandler.java @ 1563:8fbcc4747091
remove LuanFunction.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 01:37:57 -0700 |
parents | b89212fd04b5 |
children | c922446f53aa |
comparison
equal
deleted
inserted
replaced
1562:b89212fd04b5 | 1563:8fbcc4747091 |
---|---|
66 | 66 |
67 private static void initLuan(Luan luan,String dir,String domain) { | 67 private static void initLuan(Luan luan,String dir,String domain) { |
68 LuanLogger.startThreadLogging(luan); | 68 LuanLogger.startThreadLogging(luan); |
69 try { | 69 try { |
70 LuanFunction fn = Luan.loadClasspath(luan,"luan/host/init.luan"); | 70 LuanFunction fn = Luan.loadClasspath(luan,"luan/host/init.luan"); |
71 fn.call(dir,domain); | 71 fn.call(luan,dir,domain); |
72 } catch(LuanException e) { | 72 } catch(LuanException e) { |
73 throw new LuanRuntimeException(e); | 73 throw new LuanRuntimeException(e); |
74 } finally { | 74 } finally { |
75 LuanLogger.endThreadLogging(); | 75 LuanLogger.endThreadLogging(); |
76 } | 76 } |