aboutsummaryrefslogtreecommitdiff
path: root/views/installation
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-12-16 14:46:42 -0500
committerBrett Profitt <brett.profitt@gmail.com>2012-12-16 14:46:42 -0500
commit696bbe332b3011227e632459a7b8ac68b69a67b1 (patch)
tree26e89249ca0a04e0a1d08a8650ebbcd09793bb5b /views/installation
parente8330243e2c76c70b53aab15d1c5631760b7c412 (diff)
downloadelgg-696bbe332b3011227e632459a7b8ac68b69a67b1.tar.gz
elgg-696bbe332b3011227e632459a7b8ac68b69a67b1.tar.bz2
Refs #4491. Missed JS rewrite check view.
Diffstat (limited to 'views/installation')
-rw-r--r--views/installation/install/js_rewrite_check.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/installation/install/js_rewrite_check.php b/views/installation/install/js_rewrite_check.php
new file mode 100644
index 000000000..04d81171d
--- /dev/null
+++ b/views/installation/install/js_rewrite_check.php
@@ -0,0 +1,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> \ No newline at end of file