修复后台无法预览图片

pull/141/head
icret 2022-05-03 17:43:24 +00:00
parent c203431179
commit aebb5d173f
1 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ if (isset($_GET['recycle_reimg'])) {
$file_path = $config['path'] . 'suspic/' . $cache_file[$i]; // 相对路径 $file_path = $config['path'] . 'suspic/' . $cache_file[$i]; // 相对路径
$file_size = getDistUsed(filesize($file_cache_path)); // 大小 $file_size = getDistUsed(filesize($file_cache_path)); // 大小
$filen_name = $cache_file[$i]; // 名称 $filen_name = $cache_file[$i]; // 名称
$url = rand_imgurl() . $config['path'] . 'suspic/' . $cache_file[$i]; // 网络连接 $url = $config['domain'] . $config['path'] . 'suspic/' . $cache_file[$i]; // 网络连接
$unlink_img = $config['domain'] . '/application/del.php?url=' . $file_path; // 删除连接 $unlink_img = $config['domain'] . '/application/del.php?url=' . $file_path; // 删除连接
?> ?>
<tr> <tr>
@ -977,7 +977,7 @@ if (isset($_GET['recycle_reimg'])) {
$file_path = $config['path'] . 'recycle/' . $cache_file[$i]; // 相对路径 $file_path = $config['path'] . 'recycle/' . $cache_file[$i]; // 相对路径
$file_size = getDistUsed(filesize($file_cache_path)); // 大小 $file_size = getDistUsed(filesize($file_cache_path)); // 大小
$filen_name = $cache_file[$i]; // 名称 $filen_name = $cache_file[$i]; // 名称
$url = rand_imgurl() . $config['path'] . 'recycle/' . $cache_file[$i]; // 网络连接 $url = $config['domain'] . $config['path'] . 'recycle/' . $cache_file[$i]; // 网络连接
$unlink_img = $config['domain'] . '/application/del.php?url=' . $file_path; // 删除连接 $unlink_img = $config['domain'] . '/application/del.php?url=' . $file_path; // 删除连接
?> ?>
<tr> <tr>