Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST) as $filename => $file) {
These need a leading slash.
Comment | File | Size | Author |
---|---|---|---|
d8.local_.patch | 924 bytes | alexpott | |
Comments
Comment #1
Shivam Agarwal CreditAttribution: Shivam Agarwal commentedApplied Cleanly! :) Thanks
Comment #3
webchickCommitted and pushed to 8.0.x. Thanks!