mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Help dedbug
This commit is contained in:
parent
69df55b5e6
commit
b8b51bb84a
1 changed files with 2 additions and 2 deletions
|
@ -3904,8 +3904,8 @@ function _mysql_connect() {
|
|||
$checkValues = array('mysqlHost', 'mysqlUser', 'mysqlPass', 'mysqlDatabase', 'mysqlPort');
|
||||
|
||||
foreach ($checkValues as $value) {
|
||||
if(empty($$value) && !empty($global[$value])){
|
||||
$$value = $global[$value];
|
||||
if(!isset($$value)){
|
||||
_error_log("_mysql_connect Variable NOT set $value");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue