Exemplo n.º 1
0
 public function integritycheckAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     if (isset($_GET["versionid"]) && is_numeric($_GET["versionid"])) {
         $res = VMCaster::statusIntegrityCheck($_GET["versionid"]);
         header('Content-type: application/json');
         echo json_encode($res, JSON_HEX_TAG | JSON_NUMERIC_CHECK);
     } else {
         header('HTTP/1.0 404 Not Found');
         header("Status: 404 Not Found");
     }
 }