diff --git a/upload-list.php b/upload-list.php index 1adaf2c..2202ef1 100644 --- a/upload-list.php +++ b/upload-list.php @@ -14,12 +14,12 @@ function getDirectory( $path = '.', $level = 0 ){ // show the directory tree. if( is_dir( "$path/$file" ) ){ // Its a directory, so we need to keep reading down... - echo "$spaces $file
"; + echo "$spaces └ $file
"; getDirectory( "$path/$file", ($level+1) ); // Re-call this same function but on a new directory. // this is what makes function recursive. } else { - echo "$spaces $file
"; + echo "$spaces └ $file
"; // Just print out the filename } }