发布v2.6.8版本

This commit is contained in:
雨中磐石
2025-03-31 20:54:32 +08:00
parent 0701e2a8b4
commit d41bd27082
122 changed files with 9827 additions and 9132 deletions

View File

@@ -36,7 +36,7 @@ class publicClassAction extends ActionNot{
$exta = substr($filepath, -4);
if($exta=='html')$this->rock->location($filepath);
}
}else if($type=='mp4'){
}else if($type=='mp4' || $type=='mp3'){
$this->displayfile = ''.P.'/public/fileopen_mp4.html';
}else if($fobj->isyulan($type)){
@@ -73,7 +73,10 @@ class publicClassAction extends ActionNot{
$str = 'mode/pdfjs2/viewer.html';
//exit($this->rock->HTTPweb);
if(!$this->displayfile && file_exists($str) && !contain($this->rock->web,'MSIE') && !contain($this->rock->HTTPweb,'Chrome/5'))$this->displayfile = $str;
if(!$this->displayfile && file_exists($str) && !contain($this->rock->web,'MSIE') && !contain($this->rock->HTTPweb,'Chrome/5')){
if(contain($this->rock->HTTPweb, 'XINHUOAAPP IOS'))$str='';
$this->displayfile = $str;
}
$fobj->addlogs($id,0);//记录预览记录
}