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 | topic/add.html |
REDIRECT_STATUS | 200 |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_HOST | forum.imcs.org.cn |
HTTP_CONNECTION | Keep-Alive |
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.236.86.184 |
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 | 49962 |
REDIRECT_URL | /topic/add.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /topic/add.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1729064351.466 |
REQUEST_TIME | 1729064351 |
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 | topic/add.html |
REDIRECT_STATUS | 200 |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_HOST | forum.imcs.org.cn |
HTTP_CONNECTION | Keep-Alive |
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.236.86.184 |
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 | 49962 |
REDIRECT_URL | /topic/add.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /topic/add.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1729064351.466 |
REQUEST_TIME | 1729064351 |
APP_PATH | /data/www/imcs/mystartbbs/app/ |
ROOT_PATH | /data/www/imcs/mystartbbs/ |
DS | / |