summaryrefslogtreecommitdiffstats
path: root/templates/show_install_config.inc.php
diff options
context:
space:
mode:
authorKarl Vollmer <vollmer@ampache.org>2011-07-27 14:35:49 -0300
committerKarl Vollmer <vollmer@ampache.org>2011-07-27 14:35:49 -0300
commitffad56ec182f110c3511ce56d7a3cfe54a6b5de5 (patch)
tree57dafdf5979889dce1e84dbb11911e2c79870943 /templates/show_install_config.inc.php
parent33c629f4ef5e0dfd0e9b6bc0deddb165ffe20df5 (diff)
downloadampache-ffad56ec182f110c3511ce56d7a3cfe54a6b5de5.tar.gz
ampache-ffad56ec182f110c3511ce56d7a3cfe54a6b5de5.tar.bz2
ampache-ffad56ec182f110c3511ce56d7a3cfe54a6b5de5.zip
Install now contains two buttons, Download & Write for the config file, there is also
an additional check before that if the config file is writeable
Diffstat (limited to 'templates/show_install_config.inc.php')
-rw-r--r--templates/show_install_config.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_install_config.inc.php b/templates/show_install_config.inc.php
index c2513bfe..1244b920 100644
--- a/templates/show_install_config.inc.php
+++ b/templates/show_install_config.inc.php
@@ -66,7 +66,8 @@ require $prefix . '/templates/install_header.inc.php';
<tr>
<td>&nbsp;</td>
<td>
- <input type="submit" value="<?php echo _('Write Config'); ?>" />
+ <input type="submit" name="download" value="<?php echo _('Download'); ?>" />
+ <input type="submit" name="write" value="<?php echo _('Write'); ?>" <?php if (!check_config_writable()) { echo "disabled "; } ?>/>
<input type="hidden" name="htmllang" value="<?php echo $htmllang; ?>" />
<input type="hidden" name="charset" value="<?php echo $charset; ?>" />
</td>