mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
API: Now returns a real 404 when a function isn't implemented
parse_url: Image handling improved
This commit is contained in:
parent
02a1fc9cd0
commit
5f400c4a97
3 changed files with 5 additions and 30 deletions
|
@ -698,9 +698,10 @@ function get_atom_elements($feed,$item) {
|
|||
call_hooks('parse_atom', $arr);
|
||||
|
||||
//if (($res["title"] != "") or (strpos($res["body"], "RT @") > 0)) {
|
||||
// $debugfile = tempnam("/home/ike/log", "item-res2-");
|
||||
// file_put_contents($debugfile, serialize($res));
|
||||
//}
|
||||
if (strpos($res["body"], "RT @") !== false) {
|
||||
$debugfile = tempnam("/home/ike/log", "item-res2-");
|
||||
file_put_contents($debugfile, serialize($arr));
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue