exit(1);
}
-require_once INSTALLDIR . '/lib/apiprivateauth.php';
-
/**
* Returns the string "ok" in the requested format with a 200 OK HTTP status code.
*
$this->endDocument('json');
} else {
$this->clientError(
- // TRANS: Client error displayed trying to execute an unknown API method testing API connectivity.
+ // TRANS: Client error displayed when coming across a non-supported API method.
_('API method not found.'),
404,
$this->format