diff --git a/src/aphront/configuration/AphrontApplicationConfiguration.php b/src/aphront/configuration/AphrontApplicationConfiguration.php index c288c059d0..1d785557ed 100644 --- a/src/aphront/configuration/AphrontApplicationConfiguration.php +++ b/src/aphront/configuration/AphrontApplicationConfiguration.php @@ -140,7 +140,7 @@ abstract class AphrontApplicationConfiguration { $blogs = id(new PhameBlogQuery())->withDomain($host)->execute(); $blog = reset($blogs); if (!$blog) { - if ($prod_uri) { + if ($prod_uri && $prod_uri != $base_uri) { $prod_str = ' or '.$prod_uri; } else { $prod_str = '';