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.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/site/default.php b/views/default/site/default.php
new file mode 100644
index 000000000..5dacb4019
--- /dev/null
+++ b/views/default/site/default.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * ElggSite default view.
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+// sites information (including plugin settings) shouldn't be shown.
+// this view is required for pinging home during install.
+if (!defined('INSTALLING')) {
+ if ($site = $vars['entity']->url) {
+ forward($site);
+ } else {
+ forward();
+ }
+}