Page MenuHomePhabricator

D21524.id51231.diff
No OneTemporary

D21524.id51231.diff

diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -214,6 +214,11 @@
$viewer = new PhabricatorUser();
}
+ // See T13590. Some pathways, like error handling, may require unusual
+ // access to things like timezone information. These are fine to build
+ // inline; this pathway is not lightweight anyway.
+ $viewer->setAllowInlineCacheGeneration(true);
+
$this->setServiceViewer($viewer);
$allow_public = PhabricatorEnv::getEnvConfig('policy.allow-public');

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 24, 8:56 AM (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7719978
Default Alt Text
D21524.id51231.diff (742 B)

Event Timeline