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

	//echo elgg_view('object/default', $vars);
?>