diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-08 04:45:34 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-08 04:45:34 -0400 |
commit | 302c863cda651130286838309d3d897cace93534 (patch) | |
tree | bc2b5e8efd513304806e1e900141856d3adfce48 /routers/admin | |
parent | a0318db2f9094eda2beea19ed323244b4ae30831 (diff) | |
download | gitea-302c863cda651130286838309d3d897cace93534.tar.gz gitea-302c863cda651130286838309d3d897cace93534.zip |
Fix #242
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/admin.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 6f8868a659..56eba88a2b 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -193,6 +193,9 @@ func Config(ctx *middleware.Context) { ctx.Data["DbCfg"] = models.DbCfg + ctx.Data["WebhookTaskInterval"] = setting.WebhookTaskInterval + ctx.Data["WebhookDeliverTimeout"] = setting.WebhookDeliverTimeout + ctx.Data["MailerEnabled"] = false if setting.MailService != nil { ctx.Data["MailerEnabled"] = true |