Skip to content

Commit 58193a5

Browse files
committed
Ignore folders in typo3conf during rsync down
1 parent de2c58b commit 58193a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Classes/Console/Command/RsyncCommand.php

+4
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ protected function getRsyncFolders(): array {
9898
$folders[] = $configuration['basePath'];
9999
}
100100

101+
$folders = array_filter($folders, function(string $path): bool {
102+
return !str_starts_with($path, 'typo3conf/ext/');
103+
});
104+
101105
if (!$folders) {
102106
// check if fileadmin exists and use that
103107
if (is_dir(Environment::getPublicPath() . '/fileadmin/')) {

0 commit comments

Comments
 (0)