mirror of
https://github.com/friendica/friendica
synced 2024-11-20 13:03:41 +00:00
add site info to site json response
This commit is contained in:
parent
9871cc8c0e
commit
a82e0e32b3
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function friendika_init(&$a) {
|
||||||
'register_policy' => $register_policy[$a->config['register_policy']],
|
'register_policy' => $register_policy[$a->config['register_policy']],
|
||||||
'admin' => $admin,
|
'admin' => $admin,
|
||||||
'site_name' => $a->config['sitename'],
|
'site_name' => $a->config['sitename'],
|
||||||
|
'info' => ((x($a->config,'info')) ? $a->config['info'] : '')
|
||||||
);
|
);
|
||||||
|
|
||||||
echo json_encode($data);
|
echo json_encode($data);
|
||||||
|
|
Loading…
Reference in a new issue