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

at recaptime-dev/main 22 lines 549 B view raw
1<?php 2 3abstract class PhameSite extends PhabricatorSite { 4 5 protected function isPhameActive() { 6 $base_uri = PhabricatorEnv::getEnvConfig('phabricator.base-uri'); 7 if (!strlen($base_uri)) { 8 // Don't activate Phame if we don't have a base URI configured. 9 return false; 10 } 11 12 $phame_installed = PhabricatorApplication::isClassInstalled( 13 PhabricatorPhameApplication::class); 14 if (!$phame_installed) { 15 // Don't activate Phame if the the application is disabled. 16 return false; 17 } 18 19 return true; 20 } 21 22}