Browse Source

Fixes menores

master
Nicolas Soreian 4 years ago
parent
commit
10d7b6b9e8
  1. 19
      prgdmug/login.php

19
prgdmug/login.php

@ -1,7 +1,7 @@
<?php
<?php
require_once "/var/www/html/dionisio/prgdmug/F_DMUG.php";
$v_user = "";
$v_pass = "";
foreach($_POST as $campo => $valor)
@ -18,11 +18,11 @@
$hs = "DEMIURGO10-MCANET";
$user = "general";
$pass = "123456789";
$pid = getmypid();
$limit = 100;
$veces_error_server = 0;
/* Crea un objeto para el manejo postgres */
$ConDMUG = new ConexDMUG( $server , $port , $hs ,$user , $pass );
@ -37,9 +37,9 @@
if ( $ConDMUG->Execute_DMUG() < 0)
{
$veces_error_server++;
$veces_error_server++;
if ( $veces_error_server > 2 )
{
{
Finalizar();
}
sleep(3);
@ -52,7 +52,7 @@
//echo json_encode($ConDMUG->xmlrequest);
$ConDMUG->CloseConex();
// Finalizar();
/***********************************************************************/
@ -61,7 +61,4 @@ function Finalizar()
exit();
}
?>
?>
?>
Loading…
Cancel
Save