diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-05 18:05:14 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-05 18:05:14 +0000 |
commit | 0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1 (patch) | |
tree | ecafefe6806778045d0aae6cf7c1b2d3942a6d45 | |
parent | f5b5e710aafc4b950f7ea12cc04f98b4bc43d5ce (diff) | |
download | pkgsubmit-0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1.tar pkgsubmit-0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1.tar.gz pkgsubmit-0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1.tar.bz2 pkgsubmit-0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1.tar.xz pkgsubmit-0c1377115e3c6e64b866bdf0cb72ee72b67ec8d1.zip |
see behaviour on prod server
-rw-r--r-- | test_index.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 = <<<T T; if ($total > 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, '<br>'; + echo ".$typelink", ' = ', print_r(is_dir(".$typelink"), true), '<br>'; + if (!is_dir(".$typelink")) { $typelink = ''; } |