Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14402250
D9105.id21622.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
836 B
Referenced Files
None
Subscribers
None
D9105.id21622.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9105: Read 'phabricator.uri' and 'default' out of more config sources
Attached
Detach File
Event Timeline
Log In to Comment