mirror of
https://github.com/documize/community.git
synced 2025-08-01 19:45:24 +02:00
Subscription checks
This commit is contained in:
parent
6e4c5194e2
commit
e116d3b000
20 changed files with 211 additions and 76 deletions
10
core/env/runtime.go
vendored
10
core/env/runtime.go
vendored
|
@ -23,7 +23,7 @@ type Runtime struct {
|
|||
Db *sqlx.DB
|
||||
StoreProvider StoreProvider
|
||||
Log Logger
|
||||
Product ProdInfo
|
||||
Product Product
|
||||
}
|
||||
|
||||
const (
|
||||
|
@ -39,11 +39,3 @@ const (
|
|||
// SiteModeBadDB redirects to db-error.html page
|
||||
SiteModeBadDB = "3"
|
||||
)
|
||||
|
||||
const (
|
||||
// CommunityEdition is AGPL product variant
|
||||
CommunityEdition = "Community"
|
||||
|
||||
// EnterpriseEdition is commercial licensed product variant
|
||||
EnterpriseEdition = "Enterprise"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue