add site info to site json response

This commit is contained in:
Friendika 2011-07-04 00:44:25 -07:00
parent 9871cc8c0e
commit a82e0e32b3

View file

@ -21,7 +21,7 @@ function friendika_init(&$a) {
'register_policy' => $register_policy[$a->config['register_policy']],
'admin' => $admin,
'site_name' => $a->config['sitename'],
'info' => ((x($a->config,'info')) ? $a->config['info'] : '')
);
echo json_encode($data);