X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fapi.php;h=e5ca8ca7878d573c7dfefc00361e81ed080d4289;hb=ba99ac7200561706cd2b607695cfdd5b1a26d5ed;hp=d205451e5e6e0f13215bc87f56e52a15cdca2bb5;hpb=f48a63953764f66594b88f4f240fe2a0af5b6dd2;p=friendica.git diff --git a/include/api.php b/include/api.php index d205451e5e..e5ca8ca787 100644 --- a/include/api.php +++ b/include/api.php @@ -319,6 +319,7 @@ } } } + logger('API call not implemented: '.$a->query_string); throw new NotImplementedException(); } catch (HTTPException $e) { header("HTTP/1.1 {$e->httpcode} {$e->httpdesc}"); @@ -814,8 +815,6 @@ if((strpos($txt,'<') !== false) || (strpos($txt,'>') !== false)) { - require_once('library/HTMLPurifier.auto.php'); - $txt = html2bb_video($txt); $config = HTMLPurifier_Config::createDefault(); $config->set('Cache.DefinitionImpl', null); @@ -855,9 +854,6 @@ if(requestdata('htmlstatus')) { $txt = requestdata('htmlstatus'); if((strpos($txt,'<') !== false) || (strpos($txt,'>') !== false)) { - - require_once('library/HTMLPurifier.auto.php'); - $txt = html2bb_video($txt); $config = HTMLPurifier_Config::createDefault(); @@ -2569,6 +2565,7 @@ killme(); } } + api_register_func('api/gnusocial/version','api_statusnet_version',false); api_register_func('api/statusnet/version','api_statusnet_version',false); /**