summaryrefslogtreecommitdiff
path: root/installer/config.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-06-12 07:32:04 +0000
committersvncommit <devs@roundcube.net>2008-06-12 07:32:04 +0000
commitc060677d209ad3eef97dd6711ddfd5cc7ff9f2f4 (patch)
treee1e50fa426c7bc0c69131782f84ad7b069c488d9 /installer/config.php
parente9b57bb8745118c2bc5302081aff8772cf6c8fee (diff)
Enable direct download of (main|db).inc.php from the installer.
Diffstat (limited to 'installer/config.php')
-rw-r--r--installer/config.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/installer/config.php b/installer/config.php
index c257f8131..26262db31 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -22,16 +22,16 @@ $_SESSION['allowinstaller'] = true;
if (!empty($_POST['submit'])) {
- echo '<p class="notice">Copy the following configurations and save them in two files (names above the text box)';
- echo ' within the <tt>config/</tt> directory of your RoundCube installation.<br/>';
+ echo '<p class="notice">Copy or download the following configurations and save them in two files';
+ echo ' (names above the text box) within the <tt>config/</tt> directory of your RoundCube installation.<br/>';
echo ' Make sure that there are no characters outside the <tt>&lt;?php ?&gt;</tt> brackets when saving the files.</p>';
$textbox = new html_textarea(array('rows' => 16, 'cols' => 60, 'class' => "configfile"));
- echo '<div><em>main.inc.php</em></div>';
+ echo '<div><em>main.inc.php (<a href="index.php?_getfile=main">download</a>)</em></div>';
echo $textbox->show($RCI->create_config('main'));
- echo '<div style="margin-top:1em"><em>db.inc.php</em></div>';
+ echo '<div style="margin-top:1em"><em>db.inc.php (<a href="index.php?_getfile=db">download</a>)</em></div>';
echo $textbox->show($RCI->create_config('db'));
echo '<p class="hint">Of course there are more options to configure.