aboutsummaryrefslogtreecommitdiff
path: root/views/installation/install/js_rewrite_check.php
blob: 04d81171dfef19cf0b60bf296943f73b8806d2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Some servers don't allow PHP to check the rewrite, so try via AJAX
 */
?>
<script type="text/javascript">
	elgg.installer.rewriteTest(
		'<?php echo $vars['url'];?>',
		'<?php echo elgg_echo('install:check:rewrite:success'); ?>',
		'<?php echo $vars['config']->wwwroot; ?>install.php?step=database'
	);
</script>