|
|
@@ -27,9 +27,9 @@ class Dataoke
|
|
|
// if (strstr($url, "tao.php") === false) {
|
|
|
// continue;
|
|
|
// }
|
|
|
- $_url=str_replace("/tao.php?", "", $url);
|
|
|
- $_url=str_replace("/index.php?", "", $_url);
|
|
|
- $t = parse_query($_url);
|
|
|
+ $query=parse_url($url);
|
|
|
+
|
|
|
+ $t = parse_query($query['query']);
|
|
|
if ($t['kw']) {
|
|
|
// if ($t['bids']){
|
|
|
// $new_url="/kw/" . $t['kw'] . ".html?bids=".$t['bids'];
|
|
|
@@ -64,6 +64,7 @@ class Dataoke
|
|
|
$content=str_replace('"/tao.php?r=ddq"', '"/pages/dongdong.html"', $content);
|
|
|
$content=str_replace('"/tao.php?r=l"', '"/pages/haohuo.html"', $content);
|
|
|
$content=str_replace('"/tao.php?r=index/index&u=1350274"', '"/"', $content);
|
|
|
+ $content=str_replace('"/tao.php?r=index"', '"/"', $content);
|
|
|
$content=str_replace('https://cmsstatic.ffquan.cn//js/new_home.js', "/static/new_home.js", $content);
|
|
|
// $content=str_replace('index.php', "tao.php", $content);
|
|
|
return $content;
|