Elgg  Version 4.3
js_rewrite_check.php
Go to the documentation of this file.
1 <?php
8 $args = [
9  json_encode($vars['url']),
10  json_encode(elgg_echo('install:check:rewrite:success')),
11  json_encode(elgg_get_site_url() . 'install.php?step=database')
12 ];
13 ?>
14 <script>
15  elgg.installer.rewriteTest(<?php echo implode(', ', $args) ?>);
16 </script>
$args
Some servers don&#39;t allow PHP to check the rewrite, so try via AJAX.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
elgg echo
Translates a string.
Definition: deprecated.js:530
$vars['head']
Definition: html.php:24
var elgg
Definition: elgglib.js:4