$this->options = array_merge($this->options, $options);
}
if (extension_loaded('redis')) {
$this->handler = new \Redis;
if ($this->options['persistent']) {
$this->handler->pconnect($this->options['host'], $this->options['port'], $this->options['timeout'], 'persistent_id_' . $this->options['select']);
} else {
$this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']);
}
if ('' != $this->options['password']) {
$this->handler->auth($this->options['password']);
}
if (0 != $this->options['select']) {
$this->handler->select($this->options['select']);
}
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | iwxshw.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.iwxshw.com |
SERVER_PORT | 443 |
SERVER_ADDR | 10.0.8.3 |
REMOTE_PORT | 46078 |
REMOTE_ADDR | 174.129.93.231 |
SERVER_SOFTWARE | nginx/1.20.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.iwxshw.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /chapter/1066 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//chapter/1066 |
SCRIPT_FILENAME | /www/wwwroot/www.iwxshw.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1712030215.5221 |
REQUEST_TIME | 1712030215 |
BOOKCTRL | book |
CHAPTERCTRL | chapter |
TAGCTRL | tag |
BOOKLISTACT | booklist |
SEARCHCTRL | search |
RANKCTRL | rank |
UPDATEACT | update |
AUTHORCTRL | author |
spider_db_conn | xxx |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |