mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
DFRN payload is receivable via the Diaspora transport layer
This commit is contained in:
parent
c01c0681c0
commit
9d83369d88
2 changed files with 51 additions and 5 deletions
|
@ -13,9 +13,11 @@ use Friendica\Util\Crypto;
|
|||
|
||||
require_once 'include/items.php';
|
||||
|
||||
function salmon_post(App $a) {
|
||||
function salmon_post(App $a, $xml = '') {
|
||||
|
||||
$xml = file_get_contents('php://input');
|
||||
if (empty($xml)) {
|
||||
$xml = file_get_contents('php://input');
|
||||
}
|
||||
|
||||
logger('new salmon ' . $xml, LOGGER_DATA);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue