summaryrefslogtreecommitdiff
path: root/installer/views/get_db_info.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-15 20:38:37 +0800
committerTim Almdal <tnalmdal@shaw.ca>2009-07-15 20:42:58 +0800
commitd192f2f1bc1227938d3144381ef311c7e07b47b0 (patch)
treef773d5ac61b8c2841240ae226fdebbeb06f6d43c /installer/views/get_db_info.html.php
parent2cba5d93956ce38f6d08ca350124d9bd21270be6 (diff)
Fix for ticket #545.
Changed get_db_info.html.php to not display the database information request form until the var directory is successfully tested as writable. This prevents users from thinking they can enter the database information prior to successfully accessing the var directory. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
Diffstat (limited to 'installer/views/get_db_info.html.php')
-rw-r--r--installer/views/get_db_info.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/views/get_db_info.html.php b/installer/views/get_db_info.html.php
index 7835f246..94c19585 100644
--- a/installer/views/get_db_info.html.php
+++ b/installer/views/get_db_info.html.php
@@ -26,6 +26,7 @@
<?php endif ?>
</fieldset>
+<?php if (installer::var_writable()): ?>
<form method="post" action="index.php?step=save_db_info">
<fieldset>
<legend>Database</legend>
@@ -87,3 +88,4 @@
</table>
</fieldset>
</form>
+<? endif ?>