From a7a4546d0bf467fe85e0dcad6617286fdc50e2fe Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 5 Sep 2012 16:57:14 +0000 Subject: fix path --- test_index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_index.php') 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 = ''; } } -- cgit v1.2.1