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
|
@ -156,6 +156,7 @@
|
|||
//echo "<pre>"; var_dump($r); die();
|
||||
}
|
||||
}
|
||||
header("HTTP/1.1 404 Not Found");
|
||||
logger('API call not implemented: '.$a->query_string." - ".print_r($_REQUEST,true));
|
||||
$r = '<status><error>not implemented</error></status>';
|
||||
switch($type){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue