\n";
+ if (is_array($filename)) {
+ $pathFragments = explode("/", $path); // i wanted to just use end(explode("/", $path)) but PHP doesnt like it.
+ $folderName = end($pathFragments);
+ echo " $indentation
+ $indentation
+ $indentation
\n";
- if (file_exists("$path/README.txt")) { // show description text if there is a README.txt
- echo " $indentation
Beschreibung:
\n";
+ if (file_exists("$path/README.txt")) { // show description text if there is a README.txt
+ echo " $indentation