aboutsummaryrefslogtreecommitdiff
path: root/views/default/site/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/site/default.php')
-rw-r--r--views/default/site/default.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/views/default/site/default.php b/views/default/site/default.php
index 432f2ba33..36e041de2 100644
--- a/views/default/site/default.php
+++ b/views/default/site/default.php
@@ -9,10 +9,11 @@
*/
// sites information (including plugin settings) shouldn't be shown.
-// there's not a real reason to display a site object
-// unless specifically overriden with a subtype view.
-if ($site = $vars['entity']->url) {
- forward($site);
-} else {
- forward();
-} \ No newline at end of file
+// this view is required for pinging home during install.
+if (!defined('INSTALLING')) {
+ if ($site = $vars['entity']->url) {
+ forward($site);
+ } else {
+ forward();
+ }
+}