Elgg
Version 1.9
index.php
Go to the documentation of this file.
1
<?php
9
// allow testing from the upgrade page before the site is upgraded.
10
if
(isset($_GET[
'__testing_rewrite'
])) {
11
if
(isset($_GET[
'__elgg_uri'
]) &&
false
!== strpos($_GET[
'__elgg_uri'
],
'__testing_rewrite'
)) {
12
echo
"success"
;
13
}
14
exit
;
15
}
16
17
require_once(dirname(__FILE__) .
"/engine/start.php"
);
18
19
$router
=
_elgg_services
()->router;
20
$request
=
_elgg_services
()->request;
21
22
if
(!
$router
->route(
$request
)) {
23
forward
(
''
,
'404'
);
24
}
_elgg_services
_elgg_services()
Definition:
autoloader.php:14
forward
forward($location="", $reason='system')
Forward to $location.
Definition:
elgglib.php:79
$request
$request
Definition:
index.php:20
$router
$router
Definition:
index.php:19
exit
exit
Definition:
reorder.php:12
Generated on Fri Aug 29 2025 00:00:30 for Elgg by
1.9.1