@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 try to create the Aphlict log directory if it already exists

Summary: Ref T6944. This was not quite implemented correctly in D11387.

Test Plan: Saw no more exceptions about being unable to create `/var/log`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: maxhodak, Korvin, epriestley

Maniphest Tasks: T6944

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

+3 -1
+3 -1
src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
··· 39 39 40 40 try { 41 41 $dir = dirname($path); 42 - Filesystem::createDirectory($dir, 0755, true); 42 + if (!Filesystem::pathExists($dir)) { 43 + Filesystem::createDirectory($dir, 0755, true); 44 + } 43 45 } catch (FilesystemException $ex) { 44 46 throw new Exception( 45 47 pht(