aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/action_handler.php
blob: 8a1f1276b0f28179c3bf44a75ab062c691ef2df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Action handler.
 *
 * This file dispatches actions.  It is called via a URL rewrite in .htaccess
 * from http://site/action/.  Anything after 'action/' is considered the action
 * and will be passed to {@link action()}.
 *
 * @package Elgg.Core
 * @subpackage Actions
 * @link http://docs.elgg.org/Tutorials/Actions
 */

require_once("../start.php");

$action = get_input("action");
action($action);