diff --git a/src/ComposerCreateProject.php b/src/ComposerCreateProject.php index d8ca882..19438f6 100644 --- a/src/ComposerCreateProject.php +++ b/src/ComposerCreateProject.php @@ -440,7 +440,7 @@ public static function composerDoCreateProject($event) if (file_exists($langDir . DIRECTORY_SEPARATOR . $baseName)) { continue; } - copy($directory, $langDir . DIRECTORY_SEPARATOR . $baseName); + copy($directory->getRealPath(), $langDir . DIRECTORY_SEPARATOR . $baseName); } // */ }