Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15433458
D7917.id17942.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
765 B
Referenced Files
None
Subscribers
None
D7917.id17942.diff
View Options
Index: src/filesystem/Filesystem.php
===================================================================
--- src/filesystem/Filesystem.php
+++ src/filesystem/Filesystem.php
@@ -667,15 +667,16 @@
} while (--$tries);
if (!$tries) {
-
$df = disk_free_space($tmp);
if ($df !== false && $df < 1024 * 1024) {
throw new FilesystemException(
- $dir, "Failed to create a temporary directory: the disk is full.");
+ $dir,
+ pht("Failed to create a temporary directory: the disk is full."));
}
throw new FilesystemException(
- $dir, "Failed to create a temporary directory.");
+ $dir,
+ pht("Failed to create a temporary directory in '%s'.", $tmp));
}
return $dir;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 25, 11:18 PM (2 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710312
Default Alt Text
D7917.id17942.diff (765 B)
Attached To
Mode
D7917: Make "unable to create temporary directory" error slightly more clear
Attached
Detach File
Event Timeline
Log In to Comment