Update database.php
This commit is contained in:
parent
3bc800cbf5
commit
8776048502
|
@ -1070,7 +1070,7 @@ if(!check_function_exists("exec_db_temp_clear")) {
|
|||
if(!check_function_exists("close_db_connect")) {
|
||||
function close_db_connect() {
|
||||
$dbc = get_shared_var("dbc");
|
||||
$dbc->close();
|
||||
$dbc->query("KILL CONNECTION_ID()");
|
||||
set_shared_var("dbc", null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user