Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
634 B · 22 lines
PHP
1234567891011121314151617181920212223<?php
/** * Configuration source which reads from defaults defined in the authoritative * configuration definitions. */final class PhabricatorConfigDefaultSource extends PhabricatorConfigProxySource {
public function __construct() { $options = PhabricatorApplicationConfigOptions::loadAllOptions(); $options = mpull($options, 'getDefault'); $this->setSource(new PhabricatorConfigDictionarySource($options)); }
public function loadExternalOptions() { $options = PhabricatorApplicationConfigOptions::loadAllOptions(true); $options = mpull($options, 'getDefault'); $this->setKeys($options); }
}