Elgg  Version 1.11
page_handler.php
Go to the documentation of this file.
1 <?php
34 require_once(dirname(dirname(__FILE__)) . "/start.php");
35 
36 register_error("Update your .htaccess file to remove the page handler");
37 
38 $router = _elgg_services()->router;
39 $request = _elgg_services()->request;
40 
41 if (!$router->route($request)) {
42  forward('', '404');
43 }
_elgg_services()
Definition: autoloader.php:14
register_error($error)
Display an error on next page load.
Definition: elgglib.php:455
forward($location="", $reason='system')
Forward to $location.
Definition: elgglib.php:80
$request
$router