From e2f276881ee31d56f244950f231fffbf935f7f0d Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Feb 2012 11:15:22 +0100 Subject: [PATCH] Some testing stuff --- include/api.php | 1 + include/bb2diaspora.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index a621f1aa73..1d3e5c186f 100755 --- a/include/api.php +++ b/include/api.php @@ -148,6 +148,7 @@ //echo "
"; var_dump($r); die();
 			}
 		}
+		logger('API call not implemented: '.$a->query_string." - ".print_r($_REQUEST,true));
 		$r = 'not implemented';
 		switch($type){
 			case "xml":
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 4bb9e5e479..70d4bec9af 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');
-- 
2.39.5