From 7a511034164d83ee26410bb2aae783fb348045ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rubio?= Date: Wed, 10 Oct 2018 09:08:33 +0200 Subject: [PATCH] Prevent reinitialize of shared files and folders arrays --- src/Configuration/DefaultConfiguration.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Configuration/DefaultConfiguration.php b/src/Configuration/DefaultConfiguration.php index da1bf7d..1132ccd 100644 --- a/src/Configuration/DefaultConfiguration.php +++ b/src/Configuration/DefaultConfiguration.php @@ -331,9 +331,6 @@ public function fixPermissionsWithAcl(string $webServerUser): self // Relative to the project root directory public function sharedFilesAndDirs(array $paths = []): self { - $this->sharedDirs = []; - $this->sharedFiles = []; - foreach ($paths as $path) { $this->validatePathIsRelativeToProject($path, __METHOD__); if (is_dir($this->localProjectDir.DIRECTORY_SEPARATOR.$path)) {