aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-05 19:15:44 -0700
committerfriendica <info@friendica.com>2013-06-05 19:15:44 -0700
commite65449ee11a0f83bc57e8e028182672a2b4682a4 (patch)
tree9d01cc9f9e16b644a6dd5c5a07e89354b2989fd9 /mod
parent2493770af9f5cbdbae1ca93488b27bb354842ea4 (diff)
downloadvolse-hubzilla-e65449ee11a0f83bc57e8e028182672a2b4682a4.tar.gz
volse-hubzilla-e65449ee11a0f83bc57e8e028182672a2b4682a4.tar.bz2
volse-hubzilla-e65449ee11a0f83bc57e8e028182672a2b4682a4.zip
missing include, plus change to new red api path for basic export
Diffstat (limited to 'mod')
-rw-r--r--mod/import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/import.php b/mod/import.php
index 47c1ece7b..0c91cf118 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -4,7 +4,7 @@
// connection to original server.
require_once('include/Contact.php');
-
+require_once('include/zot.php');
function import_post(&$a) {
@@ -39,7 +39,7 @@ function import_post(&$a) {
$servername = substr($old_address,strpos($old_address,'@')+1);
$scheme = 'https://';
- $api_path = '/api/export/basic?f=&channel=' . $channelname;
+ $api_path = '/api/red/channel/export/basic?f=&channel=' . $channelname;
$binary = false;
$redirects = 0;
$opts = array('http_auth' => $email . ':' . $password);