Page MenuHomeDevCentral

D4175.diff
No OneTemporary

D4175.diff

diff --git a/workspaces/src/Engines/Collection/FilesCollection.php b/workspaces/src/Engines/Collection/FilesCollection.php
--- a/workspaces/src/Engines/Collection/FilesCollection.php
+++ b/workspaces/src/Engines/Collection/FilesCollection.php
@@ -49,7 +49,7 @@
. $collectionId;
//Ensure directory exists. If not, creates it or throws an exception
- if (!file_exists($path) && !mkdir($path, 0700, true)) {
+ if (!file_exists($path) && !@mkdir($path, 0700, true)) {
throw new Exception("Directory doesn't exist and couldn't be created: $path");
}

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 23, 12:10 (17 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4024398
Default Alt Text
D4175.diff (608 B)

Event Timeline