Enforce systen.register_policy value type
This commit is contained in:
parent
9b01a23c9b
commit
67dc08d120
14 changed files with 19 additions and 19 deletions
|
|
@ -20,7 +20,7 @@ function statistics_json_init(App $a) {
|
|||
"name" => Config::get('config', 'sitename'),
|
||||
"network" => FRIENDICA_PLATFORM,
|
||||
"version" => FRIENDICA_VERSION . "-" . DB_UPDATE_VERSION,
|
||||
"registrations_open" => Config::get('config', 'register_policy') !== REGISTER_CLOSED,
|
||||
"registrations_open" => intval(Config::get('config', 'register_policy')) !== REGISTER_CLOSED,
|
||||
"total_users" => Config::get('nodeinfo', 'total_users'),
|
||||
"active_users_halfyear" => Config::get('nodeinfo', 'active_users_halfyear'),
|
||||
"active_users_monthly" => Config::get('nodeinfo', 'active_users_monthly'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue