diff options
author | thomascube <thomas@roundcube.net> | 2008-09-21 11:58:40 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-09-21 11:58:40 +0000 |
commit | ae2fe663889a87fe594d82a1789dc98e9cb01904 (patch) | |
tree | 5e137c53d8a0aeea80aa121539a664b08b60c1ed /installer/config.php | |
parent | 9418af7799274193a5642e40db3488f406760f26 (diff) |
Save posted config in session for later download
Diffstat (limited to 'installer/config.php')
-rw-r--r-- | installer/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/config.php b/installer/config.php index 53a4655ed..d5e10e8b4 100644 --- a/installer/config.php +++ b/installer/config.php @@ -30,10 +30,10 @@ if (!empty($_POST['submit'])) { $textbox = new html_textarea(array('rows' => 16, 'cols' => 60, 'class' => "configfile")); echo '<div><em>main.inc.php (<a href="index.php?_getfile=main">download</a>)</em></div>'; - echo $textbox->show($RCI->create_config('main')); + echo $textbox->show(($_SESSION['main.inc.php'] = $RCI->create_config('main'))); 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 $textbox->show($_SESSION['db.inc.php'] = $RCI->create_config('db')); echo '<p class="hint">Of course there are more options to configure. Have a look at the config files or visit <a href="http://trac.roundcube.net/wiki/Howto_Config">Howto_Config</a> to find out.</p>'; |