Browse Source

媒体文件不显示问题修改

tags/6.1.0^2
xushubieli 2 years ago
parent
commit
bb27128af4
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/admin/dialog/select_media.php

+ 1
- 2
src/admin/dialog/select_media.php View File

@@ -26,7 +26,6 @@ if (!is_dir($inpath)) {
if (empty($f)) {
$f = 'form1.enclosure';
}

if (empty($comeback)) {
$comeback = '';
}
@@ -154,7 +153,7 @@ table{background:#fff}
<td class='linerow' align='center'>$filetime</td>
</tr>";
echo "$line";
} else if (preg_match("#\.(rm|rmvb)#i", $file)) {
} else if (preg_match("#\.(rm|rmvb|mp3|mp4)#i", $file)) {
$reurl = "$activeurl/$file";
$reurl = preg_replace("#^\.\.#", "", $reurl);
$reurl = $reurl;


Loading…
Cancel
Save