Page MenuHomePhabricator

D9105.id21622.diff
No OneTemporary

D9105.id21622.diff

diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -204,14 +204,14 @@
if ($force_conduit) {
$conduit_uri = $force_conduit;
} else {
- $project_conduit_uri = $configuration_manager->getProjectConfig(
+ $conduit_uri = $configuration_manager->getConfigFromAnySource(
'phabricator.uri');
- if ($project_conduit_uri) {
- $conduit_uri = $project_conduit_uri;
- } else {
- $conduit_uri = idx($global_config, 'default');
+ if ($conduit_uri === null) {
+ $conduit_uri = $configuration_manager->getConfigFromAnySource(
+ 'default');
}
}
+
if ($conduit_uri) {
// Set the URI path to '/api/'. TODO: Originally, I contemplated letting
// you deploy Phabricator somewhere other than the domain root, but ended

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 11:59 PM (16 h, 47 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6922403
Default Alt Text
D9105.id21622.diff (836 B)

Event Timeline