diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_install_check.inc.php | 12 | ||||
-rw-r--r-- | templates/show_install_config.inc.php | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php index 5f9d64f9..42e5e51a 100644 --- a/templates/show_install_check.inc.php +++ b/templates/show_install_check.inc.php @@ -195,5 +195,17 @@ } ?> </td> +</tr><tr> +<td><?php echo _('ampache.cfg.php is writable'); ?></td> +<td> +<?php + if (!check_config_writable()) { + echo debug_result('', false); + } + else { + echo debug_result('', true); + } +?> +</td> </tr> </table> 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> </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> |