public function auditorias()
 {
     if (isset($_SESSION['tipoUsuario']) && $_SESSION['tipoUsuario'] == 1) {
         $tabla = Auditoria::obtAuditorias();
         require_once '/views/' . GC::$lang . "/sistema/panel.php";
     } else {
         header('Location: ../home');
     }
 }
 public static function auditorias()
 {
     include __DIR__ . '/../models/auditoria.php';
     $info = AjaxController::$begin . json_encode(Auditoria::obtAuditorias()) . AjaxController::$end;
     return $info;
 }
 public static function test()
 {
     echo 'testing user module';
     var_dump(Auditoria::obtAuditorias());
 }