}
else if( $module == 'sitemap.xml' ){//匹配sitemap.xml 生成sitemap.xml
$getData = new Data();
$info = $getData->getRouterConfig();
//获取路由列表 匹配路由
$routeList = array();
$msArr = array('zh','sz','dx','ds','sx','shuangzu'); //模式 zh sz dx ds
foreach ($info['opengame'] as $gameOpen) {
array_push($routeList, $gameOpen['code'] . '.html');
foreach ($info['sf'] as $sfItem) {
array_push($routeList, $gameOpen['code'] . '_sf'. $sfItem['id'] . '.html');
foreach ($msArr as $msItem) {
array_push($routeList,$gameOpen['code'].'_sf'.$sfItem['id'].'_ms'.$msItem . '.html');
}
}
}
header('Content-Type: text/xml');
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_X_FORWARDED_FOR | 54.175.5.131 |
HTTP_HOST | www.xiaobaopuhui.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | 28.com |
SERVER_PORT | 8080 |
SERVER_ADDR | 127.0.0.1 |
REMOTE_PORT | 39116 |
REMOTE_ADDR | 127.0.0.1 |
SERVER_SOFTWARE | nginx/1.25.3 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/28.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /sitemap.xml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/sitemap.xml |
SCRIPT_FILENAME | /www/wwwroot/28.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711721674.7874 |
REQUEST_TIME | 1711721674 |
LOTUS_ROOT | /www/wwwroot/28.com/public/../ |
APP_PATH | /www/wwwroot/28.com/public/../application/ |
DS | / |
LOTUS_VERSION | 5.0 |