summaryrefslogtreecommitdiffstats
path: root/test_index.php
diff options
context:
space:
mode:
Diffstat (limited to 'test_index.php')
-rw-r--r--test_index.php4
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 = '';
}