fixed libertree connector

pull/151/head
Tazman DeVille 2013-10-01 00:34:29 +02:00
parent bc63728733
commit 2cd63a835f
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ function libertree_send(&$a,&$b) {
$ltree_api_token = get_pconfig($b['uid'],'libertree','libertree_api_token');
$ltree_url = get_pconfig($b['uid'],'libertree','libertree_url');
$ltree_blog = "$ltree_url/api/v1/posts/create/?token=$ltree_api_token";
//$ltree_source = "Friendica";
$ltree_source = "[".$a->config['sitename']."](".$a->get_baseurl().")";
$ltree_source = "Friendica";
//$ltree_source = "[".$a->config['sitename']."](".$a->get_baseurl().")";
if($ltree_url && $ltree_api_token && $ltree_blog && $ltree_source) {
require_once('include/bb2diaspora.php');