Hello there,
I need a simple function which do something like tihs:
I have folders like this:
ext/test1/test1/index.html
ext/test2/
ext/test1/test2/index.html
ext/test3/
I need a function which gives me only folders with subfolders and files in it.
The condition is to give a "ext/" folder in the function :)
function get_subdirs('ext/') {//code}}
When this function runs, i need only following:
test1/test2
test1/test1
(only folders with subfolders with files in it in ext/ folder)
Thanks to anyone who help me!