1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
DanielnetoDotCom 2021-06-07 11:05:11 -03:00
parent baff1266fd
commit 4515cb5d7a

View file

@ -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;
}