2010-07-07 08:08:38 +02:00
|
|
|
<?php
|
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
echo getcwd();
|
|
|
|
require_once("boot.php");
|
2010-07-07 08:08:38 +02:00
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
$a = new App;
|
2010-07-07 08:08:38 +02:00
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
@include(".htconfig.php");
|
|
|
|
require_once("dba.php");
|
|
|
|
$db = new dba($db_host, $db_user, $db_pass, $db_data, $install);
|
2010-07-07 08:08:38 +02:00
|
|
|
unset($db_host, $db_user, $db_pass, $db_data);
|
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
require_once("session.php");
|
|
|
|
require_once("datetime.php");
|
2010-07-07 08:08:38 +02:00
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
if(($argc != 2) || (! intval($argv[1])))
|
|
|
|
exit;
|
2010-07-07 08:08:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// fetch item
|
|
|
|
|
2010-07-08 07:44:22 +02:00
|
|
|
// if not parent, fetch it too
|
2010-07-07 08:08:38 +02:00
|
|
|
|
|
|
|
// atomify
|
|
|
|
|
|
|
|
// expand list of recipients
|
|
|
|
|
|
|
|
// grab the contact records
|
|
|
|
|
|
|
|
// foreach recipient
|
|
|
|
|
|
|
|
// if no dfrn-id continue
|
|
|
|
|
|
|
|
// fetch_url dfrn-notify
|
|
|
|
|
|
|
|
// decrypt challenge
|
|
|
|
|
|
|
|
// post result
|
|
|
|
|
|
|
|
// continue
|
|
|
|
|
|
|
|
killme();
|
2010-07-08 07:44:22 +02:00
|
|
|
|