Commit 10a45a73 authored by friendica's avatar friendica

package updates + allow rtof posting to Friendica sites with self-signed certs.

parent 9ec31ad8
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -160,7 +160,7 @@ function rtof_post_hook(&$a,&$b) {
$postdata = array('status' => $b['body'], 'title' => $b['title'], 'message_id' => $b['mid'], 'source' => 'Red Matrix');
if(strlen($b['body'])) {
$ret = z_post_url($api . 'statuses/update', $postdata, 0, array('http_auth' => $username . ':' . $password));
$ret = z_post_url($api . 'statuses/update', $postdata, 0, array('http_auth' => $username . ':' . $password, 'novalidate' => 1));
if($ret['success'])
logger('rtof: returns: ' . print_r($ret['body'],true));
else
......
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -4,7 +4,7 @@
* Name: WordPress Post Connector
* Description: Post to WordPress (or anything else which uses the wordpress XMLRPC API)
* Version: 1.0
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
* Author: Mike Macgirvin <zot:mike@zothub.com>
*/
require_once('include/permissions.php');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment