diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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']) { |