[原创]飞飞CMS(ppvod)播放页输出类似‘var pp_servername="百度影音$$$快播高清";’

2012-08-18飞飞CMS3236

针对PPVOD2.0修改。

打开Lib\Lib\Action\AllAction.class.php

找到
$pp_play .= 'var server_name="'.$array['vod_server'].'";';
$pp_play .= 'var player_name="'.$array['vod_play'].'";';


添加
$player_herehere=array();
foreach($player_here as $ssid=>$vval){
$player_herehere[]=$player[$vval][1];
}
$array['vod_play_play']=implode('$$$',$player_herehere);
$pp_play .= 'var pp_servername="'.$array['vod_play_play'].'";';


打完收工,清空缓存,更新播放页面,右键查看源代码。
提示:修改前养成备份的好习惯,不怕万一就怕一万。

分享:

支付宝

微信