From 0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 5 Sep 2012 18:05:14 +0000 Subject: see behaviour on prod server --- test_index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test_index.php') diff --git a/test_index.php b/test_index.php index 31e8369..55ee644 100644 --- a/test_index.php +++ b/test_index.php @@ -201,6 +201,7 @@ $tmpl = << 0) { + echo getcwd(); foreach ($pkgs as $key => $p) { if (trim($p['package']) == '') { continue; @@ -224,7 +225,8 @@ if ($total > 0) { $typelink = '/uploads/' . $p['type'] . '/' . $p['path'] . '.youri'; } else { $typelink = '/uploads/done/' . $p['path']; - echo $p['path'], ' => ', $typelink, '
'; + echo ".$typelink", ' = ', print_r(is_dir(".$typelink"), true), '
'; + if (!is_dir(".$typelink")) { $typelink = ''; } -- cgit v1.2.1