飞飞影视系统2.x自定义播放页静态路径
1、找到 /Lib/Lib/Action/Admin/CreateAction.class.php
第361行
//路径替换与生成
$player_dir_ji = preg_replace('/play-([0-9]+)-([0-9]+)-([0-9]+)/i','play-$1-'.$arr_sid[1].'-'.($pid+1).'',$player_dir);
修改为:
//路径替换与生成
$player_dir_ji = preg_replace('/([0-9]+)-([0-9]+)/i',$arr_sid[1].'-'.($pid+1).'',$player_dir);
2、找到 /Lib/Common/common.php
第777行
//播放页静态生成结构
function ff_play_url_dir($id,$sid,$pid,$cid,$name){
$playdir = str_replace_dir(C('url_play'),$id,$cid,$name);
if(C('url_html_play') == 2){
$playdir .= '-'.$id.'-'.$sid.'-'.$pid;
}
return $playdir;
}
修改为: