Page MenuHomePhabricator

D11225.id26955.diff
No OneTemporary

D11225.id26955.diff

diff --git a/src/applications/files/engine/PhabricatorS3FileStorageEngine.php b/src/applications/files/engine/PhabricatorS3FileStorageEngine.php
--- a/src/applications/files/engine/PhabricatorS3FileStorageEngine.php
+++ b/src/applications/files/engine/PhabricatorS3FileStorageEngine.php
@@ -21,7 +21,8 @@
}
public function shouldBeEnabled($data, array $params) {
- return (bool)PhabricatorEnv::getEnvConfig('storage.s3.bucket');
+ return PhabricatorEnv::getEnvConfig('storage.s3.bucket') &&
+ PhabricatorEnv::getEnvConfig('amazon-s3.access-key');
}

File Metadata

Mime Type
text/plain
Expires
Sep 24 2025, 1:52 AM (9 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8421225
Default Alt Text
D11225.id26955.diff (576 B)

Event Timeline