convert all the _well_known service controllers which are a bit touchy when it comes to the router
This commit is contained in:
18
Zotlabs/Module/Zfinger.php
Normal file
18
Zotlabs/Module/Zfinger.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Zotlabs\Module;
|
||||
|
||||
|
||||
class Zfinger extends \Zotlabs\Web\Controller {
|
||||
|
||||
function init() {
|
||||
|
||||
require_once('include/zot.php');
|
||||
require_once('include/crypto.php');
|
||||
|
||||
|
||||
$x = zotinfo($_REQUEST);
|
||||
json_return_and_die($x);
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user