mirror of
https://github.com/documize/community.git
synced 2025-07-21 22:29:41 +02:00
check parsed flags
This commit is contained in:
parent
68130122e7
commit
763bd1f0e2
1 changed files with 6 additions and 1 deletions
|
@ -52,8 +52,13 @@ func init() {
|
||||||
runtime.Product.License.Trial = false
|
runtime.Product.License.Trial = false
|
||||||
runtime.Product.License.Edition = "Community"
|
runtime.Product.License.Edition = "Community"
|
||||||
|
|
||||||
|
// parse settings from command line and environment
|
||||||
runtime.Flags = env.ParseFlags()
|
runtime.Flags = env.ParseFlags()
|
||||||
flagPrep(&runtime)
|
flagsOK := flagPrep(&runtime)
|
||||||
|
|
||||||
|
if flagsOK {
|
||||||
|
// runtime.Log = runtime.Log.SetDB(runtime.Db)
|
||||||
|
}
|
||||||
|
|
||||||
// temp code repair
|
// temp code repair
|
||||||
api.Runtime = runtime
|
api.Runtime = runtime
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue