Change file copy to use copy() method
This commit is contained in:
parent
c6e9375b8c
commit
5f82035219
|
@ -59,7 +59,7 @@ class RecipeInstaller extends LibraryInstaller {
|
||||||
}
|
}
|
||||||
$this->io->write("Installing recipe <info>$recipe</info> file <info>$relativePath</info>");
|
$this->io->write("Installing recipe <info>$recipe</info> file <info>$relativePath</info>");
|
||||||
$this->filesystem->ensureDirectoryExists(dirname($destination));
|
$this->filesystem->ensureDirectoryExists(dirname($destination));
|
||||||
file_put_contents($destination, file_get_contents($path));
|
copy($path, $destination);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue