Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate 404s due to nested files-to-serve-via-php dir (#1333)
## What is this PR doing? Fixes website breakage due to a files-to-serve-via-php directory being nested within another files-to-serve-via-php-directory. When this occurs, files are more nested than expected and cannot be found. ## What problem is it solving? During deployment we list files within a directory structure and move them conditionally. Because this is done with a `find` piped to bash functions that move files to `files-to-serve-via-php` within the same parent dir, it appears moved files are later discovered by `find` causing them to be moved again and creating a nested directory structure. ## How is the problem addressed? By filtering out paths that include the string `files-to-serve-via-php` to prevent them from being moved again. ## Testing Instructions - Manually login to the test site via PHP and run apply-update.sh manually.
- Loading branch information