| +-----------------------------------------------------------------------+ */ if (!class_exists('rcmail_install', false) || !is_object($RCI)) { die("Not allowed! Please open installer/index.php instead."); } // register these boolean fields $RCI->bool_config_props = array( 'ip_check' => 1, 'enable_spellcheck' => 1, 'auto_create_user' => 1, 'smtp_log' => 1, 'prefer_html' => 1, ); // 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 outside the <?php ?> brackets 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