Skip to content

Commit

Permalink
[Minor] Allows remote files to be used as pass images
Browse files Browse the repository at this point in the history
  • Loading branch information
eymengunay committed Nov 8, 2013
1 parent b83bcbd commit f072a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Passbook/PassFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function package(PassInterface $pass)
$fileName = $passDir . $image->getContext();
if ($image->getIsRetina()) $fileName .= '@2x';
$fileName .= '.' . $image->getExtension();
copy($image->getRealPath(), $fileName);
copy($image->getPathname(), $fileName);
}

// Manifest.json
Expand Down

0 comments on commit f072a9e

Please sign in to comment.