summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
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']) {