Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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
}
$router
$router
Definition:
index.php:19
$request
$request
Definition:
index.php:20
exit
exit
Definition:
reorder.php:12
forward
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
Definition:
elgglib.js:419
_elgg_services
_elgg_services()
Definition:
autoloader.php:14
echo
elgg echo
Translates a string.
Definition:
languages.js:43
Generated on Sat Dec 21 2024 00:00:35 for Elgg by
1.8.11