aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/api.php1
-rwxr-xr-xinclude/bb2diaspora.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index a621f1aa7..1d3e5c186 100755
--- a/include/api.php
+++ b/include/api.php
@@ -148,6 +148,7 @@
//echo "<pre>"; var_dump($r); die();
}
}
+ logger('API call not implemented: '.$a->query_string." - ".print_r($_REQUEST,true));
$r = '<status><error>not implemented</error></status>';
switch($type){
case "xml":
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 4bb9e5e47..70d4bec9a 100755
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -14,7 +14,7 @@ require_once('include/html2bbcode.php');
function diaspora2bb($s) {
// for testing purposes: Collect raw markdown articles
- $file = tempnam("/tmp/", "markdown");
+ $file = tempnam("/tmp/friendica/", "markdown");
file_put_contents($file, $s);
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');