diff --git a/src/MediaLibraryRepository.php b/src/MediaLibraryRepository.php index 063266b0d..a9db11aea 100644 --- a/src/MediaLibraryRepository.php +++ b/src/MediaLibraryRepository.php @@ -267,7 +267,7 @@ private function addIgnoreFileToMediaLibraryDirectory() $destinationFile = $destinationDirectory.'/.gitignore'; if (!file_exists($destinationFile)) { - File::copy(__DIR__.'/../../stubs/gitignore.txt', $destinationFile); + File::copy(__DIR__.'/stubs/gitignore.txt', $destinationFile); } } } diff --git a/src/stubs/.gitignore.txt b/src/stubs/gitignore.txt similarity index 100% rename from src/stubs/.gitignore.txt rename to src/stubs/gitignore.txt