Elgg  Version 1.9
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 forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
Definition: elgglib.js:419
$request
_elgg_services()
Definition: autoloader.php:14
$router
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:383