try {
if (empty($config['dsn'])) {
$config['dsn'] = $this->parseDsn($config);
}
if ($config['debug']) {
$startTime = microtime(true);
}
$this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
if ($config['debug']) {
// 记录数据库连接信息
$this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
}
return $this->links[$linkNum];
} catch (\PDOException $e) {
if ($autoConnection) {
REDIRECT_PATH_INFO | category/topic/id/1.html |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_HOST | forum.imcs.org.cn |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
LD_LIBRARY_PATH | /usr/local/apache/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.25 (Unix) PHP/5.6.13 |
SERVER_NAME | forum.imcs.org.cn |
SERVER_ADDR | 172.18.126.101 |
SERVER_PORT | 80 |
REMOTE_ADDR | 3.133.144.35 |
DOCUMENT_ROOT | /data/www/imcs/mystartbbs |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /data/www/imcs/mystartbbs |
SERVER_ADMIN | webmaster@forum.imcs.org.cn |
SCRIPT_FILENAME | /data/www/imcs/mystartbbs/index.php |
REMOTE_PORT | 24589 |
REDIRECT_URL | /category/topic/id/1.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /category/topic/id/1.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734806290.053 |
REQUEST_TIME | 1734806290 |
APP_PATH | /data/www/imcs/mystartbbs/app/ |
ROOT_PATH | /data/www/imcs/mystartbbs/ |
DS | / |
</tbody>
<?php } ?>
</table>
<?php } ?>
</div>
<?php } ?>
<div class="copyright">
<a title="ShopXO官网" href="http://www.folieyun.com"target="_blank">福利云FolieYUN 官网</a>
<span><?php echo APPLICATION_VERSION; ?></span>
<a title="ShopXO社区" href="http://www.folieyun.com" target="_blank" class="shopxo-ask">福利云FolieYUN 社区</a>
<span>{ 国内领先企业级B2C免费开源电商系统! }</span>
</div>
<?php if(\think\facade\App::isDebug()) { ?>
<script>
var LINE = <?php echo $line; ?>;
function $(selector, node){
var elements;
REDIRECT_PATH_INFO | category/topic/id/1.html |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_HOST | forum.imcs.org.cn |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
LD_LIBRARY_PATH | /usr/local/apache/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.25 (Unix) PHP/5.6.13 |
SERVER_NAME | forum.imcs.org.cn |
SERVER_ADDR | 172.18.126.101 |
SERVER_PORT | 80 |
REMOTE_ADDR | 3.133.144.35 |
DOCUMENT_ROOT | /data/www/imcs/mystartbbs |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /data/www/imcs/mystartbbs |
SERVER_ADMIN | webmaster@forum.imcs.org.cn |
SCRIPT_FILENAME | /data/www/imcs/mystartbbs/index.php |
REMOTE_PORT | 24589 |
REDIRECT_URL | /category/topic/id/1.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /category/topic/id/1.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734806290.053 |
REQUEST_TIME | 1734806290 |
APP_PATH | /data/www/imcs/mystartbbs/app/ |
ROOT_PATH | /data/www/imcs/mystartbbs/ |
DS | / |