siteinfo embellishments

This commit is contained in:
zotlabs
2018-01-22 20:07:08 -08:00
parent 5967360991
commit 4cfd7b65fb
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ namespace Zotlabs\Module;
class Siteinfo extends \Zotlabs\Web\Controller {
function init() {
logger(print_r($_REQUEST,true));
if (argv(1) === 'json' || $_REQUEST['module_format'] === 'json') {
$data = get_site_info();
json_return_and_die($data);