fix travis

This commit is contained in:
Florian HENRY 2023-09-10 13:31:54 +02:00
parent 41a69466e2
commit 25b0ee01b0

View file

@ -497,7 +497,11 @@ function dol_shutdown()
$depth = $db->transaction_opened;
$disconnectdone = $db->close();
}
dol_syslog("--- End access to ".$_SERVER["PHP_SELF"].(($disconnectdone && $depth) ? ' (Warn: db disconnection forced, transaction depth was '.$depth.')' : ''), (($disconnectdone && $depth) ? LOG_WARNING : LOG_INFO));
$caller = "";
if (array_key_exists("PHP_SELF", $_SERVER)) {
$caller = $_SERVER["PHP_SELF"];
}
dol_syslog("--- End access to ".$caller.(($disconnectdone && $depth) ? ' (Warn: db disconnection forced, transaction depth was '.$depth.')' : ''), (($disconnectdone && $depth) ? LOG_WARNING : LOG_INFO));
}
/**