Mercurial Hosting > nabble
comparison conf/Init.luan @ 2:abe0694e9849
replace local_dir with home_dir
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Mar 2019 13:59:13 -0600 |
parents | 7ecd1a4ef557 |
children | c4ed473452d4 |
comparison
equal
deleted
inserted
replaced
1:75262552dd35 | 2:abe0694e9849 |
---|---|
1 java() | 1 java() |
2 local Luan = require "luan:Luan.luan" | 2 local Luan = require "luan:Luan.luan" |
3 local error = Luan.error | 3 local error = Luan.error |
4 local Io = require "luan:Io.luan" | |
5 local uri = Io.uri or error() | |
4 local MailHome = require "java:fschmidt.util.mail.MailHome" | 6 local MailHome = require "java:fschmidt.util.mail.MailHome" |
5 local System = require "java:java.lang.System" | 7 local System = require "java:java.lang.System" |
6 local Logging = require "luan:logging/Logging.luan" | 8 local Logging = require "luan:logging/Logging.luan" |
7 local logger = Logging.logger "Init_default" | 9 local logger = Logging.logger "Init_default" |
8 | 10 |
18 Init.dbUser = "administrator" | 20 Init.dbUser = "administrator" |
19 Init.dbPassword = "" | 21 Init.dbPassword = "" |
20 | 22 |
21 Init.poolSize = 130 | 23 Init.poolSize = 130 |
22 | 24 |
23 Init.local_dir = "local/" | 25 Init.home_dir = uri( uri("classpath:nabble").to_string() ).parent().parent().to_string().."/" |
24 | 26 |
25 -- for now | 27 -- for now |
26 local smtp = MailHome.getSmtpServer("mail.smtp2go.com","dev@singlesushi.com","FB4dating") | 28 local smtp = MailHome.getSmtpServer("mail.smtp2go.com","dev@singlesushi.com","FB4dating") |
27 smtp.setPort(2525) | 29 smtp.setPort(2525) |
28 MailHome.setDefaultSmtpServer(smtp) | 30 MailHome.setDefaultSmtpServer(smtp) |