Exemplo n.º 1
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Bad syntax', 400);
Exemplo n.º 2
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('File not found', 404);
Exemplo n.º 3
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Forbidden access', 403);
Exemplo n.º 4
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Unauthorized  access', 401);
Exemplo n.º 5
0
 /**
  * Sends an error page or message to the web browser and stop page processing.
  * @return void
  */
 public function sendError($msg, $code = null)
 {
     Raxan::sendError($msg, $code);
 }