Elgg  Version 6.1
Variables
js_rewrite_check.php File Reference

Go to the source code of this file.

Variables

 $args
 Some servers don't allow PHP to check the rewrite, so try via AJAX. More...
 

Variable Documentation

$args
Initial value:
= [
json_encode($vars['url']),
json_encode(elgg_echo('install:check:rewrite:success')),
json_encode(elgg_get_site_url() . 'install.php?step=database')
]
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
$vars
Definition: theme.php:5

Some servers don't allow PHP to check the rewrite, so try via AJAX.

$vars['url'] URL to test via Ajax (note: not relying on legacy site URL injection)

Examples:
/root/Elgg/engine/classes/Elgg/Http/Urls.php.

Definition at line 8 of file js_rewrite_check.php.