exit(1);
}
-require_once INSTALLDIR . '/lib/apibareauth.php';
-
/**
* We don't have a rate limit, but some clients check this method.
* It always returns the same thing: 150 hits left.
if (!in_array($this->format, array('xml', 'json'))) {
$this->clientError(
+ // TRANS: Client error displayed when coming across a non-supported API method.
_('API method not found.'),
404,
$this->format