mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Update
This commit is contained in:
parent
6279bc2638
commit
cf9d61915e
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ function canCloseConnection(){
|
||||||
function _mysql_close()
|
function _mysql_close()
|
||||||
{
|
{
|
||||||
global $global, $mysql_connect_was_closed, $mysql_connect_is_persistent;
|
global $global, $mysql_connect_was_closed, $mysql_connect_is_persistent;
|
||||||
if (!$mysql_connect_is_persistent && _mysql_is_open() && !isCommandLineInterface() && getRealIpAddr() !== '127.0.0.1') {
|
if (canCloseConnection()) {
|
||||||
//_error_log('MySQL Closed '. json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
|
//_error_log('MySQL Closed '. json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
|
||||||
$mysql_connect_was_closed = 1;
|
$mysql_connect_was_closed = 1;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue