I have set up a basic script that is posting an array of paths to find template files inside them; currently it\'s only searching two levels deep and I\'m having some troubles g
Here is working code which scans given directory $dir and all of its sub directories to any levels and return list of html files and folders containing them.