From 1226733f9ad7434d2f1769a8882845451039e57c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 29 Jan 2012 19:22:21 +0000 Subject: Add link to logs in case of success too --- index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 9d948ca..ed6c5d7 100644 --- a/index.php +++ b/index.php @@ -399,6 +399,11 @@ if ($total > 0) { $typelink = '/uploads/' . $p['type'] . '/' . $p['path']; } elseif ($p['type'] == 'rejected') { $typelink = '/uploads/' . $p['type'] . '/' . $p['path'] . '.youri'; + } else { + $typelink = '/uploads/done/' . $p['path']; + if (!is_dir("..$typelink")) { + $typelink = ''; + } } $typestr = $p['type']; if ($p['status']['build']) { -- cgit v1.2.1