Elgg
Version 1.9
engine
handlers
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
_elgg_services()
Definition:
autoloader.php:14
register_error
register_error($error)
Display an error on next page load.
Definition:
elgglib.php:605
forward
forward($location="", $reason='system')
Forward to $location.
Definition:
elgglib.php:79
$request
$request
Definition:
page_handler.php:39
$router
$router
Definition:
page_handler.php:38
Generated on Fri Aug 29 2025 00:00:30 for Elgg by
1.9.1