mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix
This commit is contained in:
parent
3e9e08c084
commit
c54c2a32d0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ global $disableMysqlNdMethods;
|
||||||
// this is only to test both methods more easy.
|
// this is only to test both methods more easy.
|
||||||
$disableMysqlNdMethods = false;
|
$disableMysqlNdMethods = false;
|
||||||
|
|
||||||
if(isDocker()){
|
if(function_exists('isDocker') && isDocker()){
|
||||||
ini_set('mysql.connect_timeout', 300);
|
ini_set('mysql.connect_timeout', 300);
|
||||||
ini_set('default_socket_timeout', 300);
|
ini_set('default_socket_timeout', 300);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue