Explorar el Código

Update common.func.php

tags/6.2.6
叙述、别离 hace 2 años
padre
commit
d87c3cdc20
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      src/system/common.func.php

+ 5
- 1
src/system/common.func.php Ver fichero

@@ -65,7 +65,11 @@ if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
if (!function_exists('mysql_close') and function_exists('mysqli_close')) {
function mysql_close($link)
{
return mysqli_close($link);
if ($link) {
return @mysqli_close($link);
} else {
return false;
}
}
}
if (!function_exists('mysql_free_result') and function_exists('mysqli_free_result')) {


Cargando…
Cancelar
Guardar