(c *context.Context)
| 113 | } |
| 114 | |
| 115 | func InstallInit(c *context.Context) { |
| 116 | if conf.Security.InstallLock { |
| 117 | c.NotFound() |
| 118 | return |
| 119 | } |
| 120 | |
| 121 | c.Title("install.install") |
| 122 | c.PageIs("Install") |
| 123 | |
| 124 | c.Data["DbOptions"] = []string{"MySQL", "PostgreSQL", "SQLite3"} |
| 125 | } |
| 126 | |
| 127 | func Install(c *context.Context) { |
| 128 | f := form.Install{} |