mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Updates
This commit is contained in:
parent
7f1d5e5a98
commit
5ce81cc9be
5 changed files with 146 additions and 85 deletions
|
@ -121,8 +121,11 @@ function getMySQLDate()
|
|||
|
||||
function _mysql_connect($persistent = false, $try = 0)
|
||||
{
|
||||
global $global, $mysqlHost, $mysqlUser, $mysqlPass, $mysqlDatabase, $mysqlPort, $mysql_connect_was_closed, $mysql_connect_is_persistent;
|
||||
|
||||
global $global, $mysqlHost, $mysqlUser, $mysqlPass, $mysqlDatabase, $mysqlPort, $mysql_connect_was_closed, $mysql_connect_is_persistent, $isStandAlone;
|
||||
if(!empty($isStandAlone)){
|
||||
_error_log('StandAlone Mode');
|
||||
return false;
|
||||
}
|
||||
$checkValues = ['mysqlHost', 'mysqlUser', 'mysqlPass', 'mysqlDatabase'];
|
||||
|
||||
foreach ($checkValues as $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue