mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
baff1266fd
commit
4515cb5d7a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ global $global, $config, $advancedCustom, $advancedCustomUser;
|
|||
$global['mysqli'] = new mysqli($mysqlHost, $mysqlUser, $mysqlPass, $mysqlDatabase, @$mysqlPort);
|
||||
|
||||
if ($global['mysqli'] === false || !empty($global['mysqli']->connect_errno)) {
|
||||
_error_log("MySQL connect_errno[{$global['mysqli']->connect_errno}] {$global['mysqli']->connect_error}", AVideoLog::$ERROR);
|
||||
error_log("MySQL connect_errno[{$global['mysqli']->connect_errno}] {$global['mysqli']->connect_error}", AVideoLog::$ERROR);
|
||||
include $global['systemRootPath'] . 'view/include/offlinePage.php';
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue