Permalink
Browse files

[Filesystem] fixed exception message when not a able to write to a di…

…rectory
  • Loading branch information...
deeky666 authored and fabpot committed Jul 26, 2013
1 parent 59ee050 commit da0dcf60b7307f68667fecef8ccbb2b070bda7cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 Filesystem.php
View
@@ -456,7 +456,7 @@ public function dumpFile($filename, $content, $mode = 0666)
if (!is_dir($dir)) {
$this->mkdir($dir);
} elseif (!is_writable($dir)) {
- throw new IOException(sprintf('Unable to write in the %s directory\n', $dir));
+ throw new IOException(sprintf('Unable to write to the "%s" directory.', $dir));
}
$tmpFile = tempnam($dir, basename($filename));

0 comments on commit da0dcf6

Please sign in to comment.