summaryrefslogtreecommitdiffstats
path: root/templates/show_install_check.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_check.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_check.inc.php')
-rw-r--r--templates/show_install_check.inc.php12
1 files changed, 12 insertions, 0 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>