@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't scream about local storage not being writable if a path hasn't been configured

Summary: D4497

Test Plan: Reloaded setup check, saw no issues.

Reviewers: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4537

authored by

Asher Baker and committed by
epriestley
df60053e 42ee1d0e

+4 -2
+4 -2
src/applications/config/check/PhabricatorSetupCheckStorage.php
··· 3 3 final class PhabricatorSetupCheckStorage extends PhabricatorSetupCheck { 4 4 5 5 protected function executeChecks() { 6 - $local_key = 'storage.local-disk.path'; 7 - $local_path = PhabricatorEnv::getEnvConfig($local_key); 6 + $local_path = PhabricatorEnv::getEnvConfig('storage.local-disk.path'); 7 + if (!$local_path) { 8 + return; 9 + } 8 10 9 11 if (!Filesystem::pathExists($local_path) || 10 12 !is_readable($local_path) ||