1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-06-14 19:38:46 -03:00
parent 3e9e08c084
commit c54c2a32d0

View file

@ -36,7 +36,7 @@ global $disableMysqlNdMethods;
// this is only to test both methods more easy.
$disableMysqlNdMethods = false;
if(isDocker()){
if(function_exists('isDocker') && isDocker()){
ini_set('mysql.connect_timeout', 300);
ini_set('default_socket_timeout', 300);
}