| +-----------------------------------------------------------------------+ */ if (!class_exists('rcmail_install', false) || !isset($RCI)) { die("Not allowed! Please open installer/index.php instead."); } // allow the current user to get to the next step $_SESSION['allowinstaller'] = true; if (!empty($_POST['submit'])) { $_SESSION['config'] = $RCI->create_config(); if ($RCI->save_configfile($_SESSION['config'])) { echo '
The config file was saved successfully into'
. ' '.RCMAIL_CONFIG_DIR.' directory of your Roundcube installation.';
if ($RCI->legacy_config) {
echo '
Afterwards, please remove the old configuration files'
. ' main.inc.php and db.inc.php from the config directory.';
}
echo '
Copy or download the following configuration and save it';
echo ' as config.inc.php within the '.RCUBE_CONFIG_DIR.' directory of your Roundcube installation.
';
echo ' Make sure that there are no characters before the <?php bracket when saving the file.';
echo ' ';
echo $save_button;
if ($RCI->legacy_config) {
echo '
Afterwards, please remove the old configuration files'
. ' main.inc.php and db.inc.php from the config directory.';
}
echo '
Of course there are more options to configure. Have a look at the defaults.inc.php file or visit Howto_Config to find out.
'; echo ''; // echo ''; echo "\n