From: Michael Date: Mon, 20 Feb 2012 10:15:22 +0000 (+0100) Subject: Some testing stuff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e2f276881ee31d56f244950f231fffbf935f7f0d;p=friendica.git Some testing stuff --- 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');