aboutsummaryrefslogtreecommitdiff
path: root/views/default/site/default.php
blob: 5dacb401935886ea9808c69adc068145e39b54c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
	}
}