Exemple #1
0
 function showPage()
 {
     if (StatusNet::isAjax()) {
         $this->extraHeaders();
         $this->ajaxErrorMsg();
         exit;
     }
     if ($this->minimal) {
         // Even more minimal -- we're in a machine API
         // and don't want to flood the output.
         $this->extraHeaders();
         $this->showContent();
     } else {
         parent::showPage();
     }
     // We don't want to have any more output after this
     exit;
 }