9 json_encode(
$vars[
'url']),
10 json_encode(
elgg_echo(
'install:check:rewrite:success')),
14 <script
type=
"text/javascript">
15 elgg.installer.rewriteTest(<?php
echo implode(
', ',
$args) ?>);
$args
Some servers don'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.
elgg echo
Translates a string.
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
if(file_exists($welcome)) $vars