Skip to content

Commit

Permalink
Share function bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asiacny authored May 18, 2018
1 parent 2476f6d commit f85143f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ function strdecode($string,$key='09KxDsIIe|+]8Fo{YP<l+3!y#>a$;^PzFpsxS9&d;!l;~M>

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

0 comments on commit f85143f

Please sign in to comment.