summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test_index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_index.php b/test_index.php
index b18b917..f098838 100644
--- a/test_index.php
+++ b/test_index.php
@@ -224,7 +224,7 @@ if ($total > 0) {
$typelink = '/uploads/' . $p['type'] . '/' . $p['path'] . '.youri';
} else {
$typelink = '/uploads/done/' . $p['path'];
- if (!is_dir($typelink)) {
+ if (!is_dir(".$typelink")) {
$typelink = '';
}
}