summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-05 16:57:14 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-05 16:57:14 +0000
commita7a4546d0bf467fe85e0dcad6617286fdc50e2fe (patch)
tree4d23fb12c9ac20250da48ccbdc1729ee8abbf4f8
parentcc6f919b5634318d00f9ed23f6a63e6a35f82b91 (diff)
downloadpkgsubmit-a7a4546d0bf467fe85e0dcad6617286fdc50e2fe.tar
pkgsubmit-a7a4546d0bf467fe85e0dcad6617286fdc50e2fe.tar.gz
pkgsubmit-a7a4546d0bf467fe85e0dcad6617286fdc50e2fe.tar.bz2
pkgsubmit-a7a4546d0bf467fe85e0dcad6617286fdc50e2fe.tar.xz
pkgsubmit-a7a4546d0bf467fe85e0dcad6617286fdc50e2fe.zip
fix path
-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 = '';
}
}