@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.

Aphlict - search for default config in the right place

Summary: Fix T15502.

Test Plan: Renamed `phorge` dir few times, run `./bin/aphlict status` to see message.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15502

Differential Revision: https://we.phorge.it/D25344

+4 -4
+4 -4
src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
··· 30 30 $full_path = Filesystem::resolvePath($config_file); 31 31 $show_path = $full_path; 32 32 } else { 33 - $root = dirname(dirname(phutil_get_library_root('phabricator'))); 33 + $root = dirname(phutil_get_library_root('phorge')); 34 34 35 35 $try = array( 36 - 'phabricator/conf/aphlict/aphlict.custom.json', 37 - 'phabricator/conf/aphlict/aphlict.default.json', 36 + 'conf/aphlict/aphlict.custom.json', 37 + 'conf/aphlict/aphlict.default.json', 38 38 ); 39 39 40 40 foreach ($try as $config) { 41 41 $full_path = $root.'/'.$config; 42 - $show_path = $config; 42 + $show_path = '<phorge>/'.$config; 43 43 if (Filesystem::pathExists($full_path)) { 44 44 break; 45 45 }