make the json work

This commit is contained in:
friendica 2012-11-16 14:13:03 -08:00
parent a7f0817364
commit c33c6dbb39

View File

@ -1,6 +1,6 @@
<?php
function friendica_init(&$a) {
function siteinfo_init(&$a) {
if ($a->argv[1]=="json"){
$register_policy = Array('REGISTER_CLOSED', 'REGISTER_APPROVE', 'REGISTER_OPEN');