Karmabunny / sprout3

SproutCMS: content management and framework
http://getsproutcms.com
GNU General Public License v2.0
24 stars 3 forks source link

Fix/recursive file exports #94

Closed gwillz closed 11 months ago

gwillz commented 11 months ago

Since adding support for nested files the exports tool doesn't work any more.

glob(*) doesn't naturally perform recursive searches, so this PR fixes that as well as the exports tool itself. This should be backwards compatible because the default recursion depth is 0 so it'll behave as usual.

@jamiemonksuk I know this will likely conflict with your multi-backend PR.