exit(1);
}
-require_once INSTALLDIR . '/lib/info.php';
-
/**
* Base class for displaying HTTP errors
*
$this->code = $code;
$this->message = $message;
- $this->minimal = StatusNet::isApi();
+ $this->minimal = GNUsocial::isApi();
// XXX: hack alert: usually we aren't going to
// call this page directly, but because it's
function showPage()
{
- if (StatusNet::isAjax()) {
+ if (GNUsocial::isAjax()) {
$this->extraHeaders();
$this->ajaxErrorMsg();
exit();