Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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:
= array(
json_encode($vars['url']),
json_encode(elgg_echo('install:check:rewrite:success')),
json_encode(elgg_get_site_url() . 'install.php?step=database')
)
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$vars['entity']
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.

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)

Definition at line 8 of file js_rewrite_check.php.