aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/pagehandler.php
blob: 2e98c071a11717d02511bed0437944d2560eace2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg page handler
 *
 * If page_handler() fails, send to front page.
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

// Load Elgg engine
require_once("../start.php");

// Get input
$handler = get_input('handler');
$page = get_input('page');

// Call the page handler functions
if (!page_handler($handler, $page)) {
	forward();
}