Elgg  Version 1.9
js_rewrite_check.php
Go to the documentation of this file.
1 <?php
8 $args = array(
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 type="text/javascript">
15  elgg.installer.rewriteTest(<?php echo implode(', ', $args) ?>);
16 </script>
elgg
Definition: install.js:23
$args
Some servers don&#39;t allow PHP to check the rewrite, so try via AJAX.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
list style type
Definition: admin.php:724
if(file_exists($welcome)) $vars
Definition: upgrade.php:93