Skip to content

Commit f85143f

Browse files
authored
Share function bug fix
1 parent 2476f6d commit f85143f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ function strdecode($string,$key='09KxDsIIe|+]8Fo{YP<l+3!y#>a$;^PzFpsxS9&d;!l;~M>
396396

397397
//分享功能
398398
function shareit($id,$title='免翻墙Youtube镜像'){
399-
$pic=ROOT_PART.'/thumbnail.php?vid='.$id;
400-
$url=ROOT_PART.'watch-'.$id.'.html';
399+
$pic=ROOT_PART.'thumbnail.php%3Fvid%3D'.$id;
400+
$url=ROOT_PART.'watch.php%3Fv%3D'.$id;
401401
$title=str_replace('&','||',$title);
402402
$title=str_replace('"',' ',$title);
403403
$title=str_replace("'",' ',$title);

0 commit comments

Comments
 (0)