|
|
@@ -48,7 +48,12 @@ class Dataoke
|
|
|
// $d=$t;
|
|
|
// unset($d['kw']);
|
|
|
// }
|
|
|
- $new_url="/kw/" . $t['kw'] . ".html?".http_build_query($q);
|
|
|
+ if (count($q)>1){
|
|
|
+ $s="?".http_build_query($q);
|
|
|
+ }else{
|
|
|
+ $s="";
|
|
|
+ }
|
|
|
+ $new_url="/kw/" . $t['kw'] . ".html".$s;
|
|
|
|
|
|
$content = str_replace($url, $new_url, $content);
|
|
|
}else{
|