]> git.mxchange.org Git - friendica.git/commitdiff
Some testing stuff
authorMichael <icarus@dabo.de>
Mon, 20 Feb 2012 10:15:22 +0000 (11:15 +0100)
committerMichael <icarus@dabo.de>
Mon, 20 Feb 2012 10:15:22 +0000 (11:15 +0100)
include/api.php
include/bb2diaspora.php

index a621f1aa73160df0a2e51b581697035e1190193e..1d3e5c186f46876f43f9dc8bdef50f04998da058 100755 (executable)
                                //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":
index 4bb9e5e4795ab8d46f67d21b984c5854d5dfd6f8..70d4bec9afd7f6371f56c4ad8efe4f957e3dc43b 100755 (executable)
@@ -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');