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

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