Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Filesystem] Fix regression introduced in 10dea948

  • Loading branch information...
commit 51393fcc2c304645df43f6a72dfb9ac233cf0fee 1 parent c8f0ee4
@stloyd stloyd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Filesystem.php
View
2  Filesystem.php
@@ -35,7 +35,7 @@ class Filesystem
*/
public function copy($originFile, $targetFile, $override = false)
{
- if (!is_file($originFile)) {
+ if (stream_is_local($originFile) && !is_file($originFile)) {
throw new IOException(sprintf('Failed to copy %s because file not exists', $originFile));
}

0 comments on commit 51393fc

Please sign in to comment.
Something went wrong with that request. Please try again.