fix travis
This commit is contained in:
parent
41a69466e2
commit
25b0ee01b0
1 changed files with 5 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue