mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ebac1bf06e
Filesystem::sync() tries to run through all pages, without caring which subsite the page came from. The problem with this is code in SiteTree::validURLSegment() will return invalid information, as it will check if the page exists, thinking it does, return false, then the page will get a new URLSegment written, e.g. "home-2". Instead of disabling the subsite filter in Filesystem::sync(), this fix will just loop through each subsite and sync each subsite's pages individually before doing the main site. |
||
---|---|---|
.. | ||
File.php | ||
FileFinder.php | ||
FileNameFilter.php | ||
Filesystem.php | ||
Folder.php | ||
GD.php | ||
ImagickBackend.php | ||
Upload.php |