You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
- 优化二级目录使用
This commit is contained in:
@@ -42,7 +42,6 @@ try {
|
||||
throw new Exception('<div class="alert alert-info">没有上传日志!<div>');
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
require_once APP_ROOT . '/app/footer.php';
|
||||
exit;
|
||||
}
|
||||
@@ -176,7 +175,7 @@ try {
|
||||
checkImg: '<?php echo strstr('OFF', $v['checkImg']) ? '否' : '是'; ?>',
|
||||
from: '<?php echo is_string($v['from']) ? "网页" : 'API: ' . $v['from']; ?>',
|
||||
manage: '<div class="btn-group"><a href="<?php echo rand_imgurl() . $v['path']; ?>" target="_blank" class="btn btn-mini btn-success">查看</a> <a href="/app/info.php?img=<?php echo $v['path']; ?>" target="_blank" class="btn btn-mini">信息</a><a href="#" onclick="ajax_post(\'<?php echo $v['path']; ?>\',\'recycle\')" class="btn btn-mini btn-info">回收</a> <a href="#" onclick="ajax_post(\'<?php echo $v['path']; ?>\',\'delete\')" class="btn btn-mini btn-danger">删除</a></div>',
|
||||
},
|
||||
},
|
||||
<?php endforeach; ?>
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user