From e2f276881ee31d56f244950f231fffbf935f7f0d Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Feb 2012 11:15:22 +0100 Subject: 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 a621f1aa7..1d3e5c186 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 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');
-- 
cgit v1.2.3