aboutsummaryrefslogtreecommitdiff
path: root/views/default/site/default.php
blob: 432f2ba338f55aab55d3ccf6c4aae45a38fd0b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * ElggSite default view.
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

// 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();
}