Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15399699
D11397.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
643 B
Referenced Files
None
Subscribers
None
D11397.id.diff
View Options
diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
--- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
+++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
@@ -39,7 +39,9 @@
try {
$dir = dirname($path);
- Filesystem::createDirectory($dir, 0755, true);
+ if (!Filesystem::pathExists($dir)) {
+ Filesystem::createDirectory($dir, 0755, true);
+ }
} catch (FilesystemException $ex) {
throw new Exception(
pht(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 7:08 AM (3 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7708101
Default Alt Text
D11397.id.diff (643 B)
Attached To
Mode
D11397: Don't try to create the Aphlict log directory if it already exists
Attached
Detach File
Event Timeline
Log In to Comment