| | |
| | | <?php |
| | | |
| | | if (!class_exists('rcube_install') || !is_object($RCI)) { |
| | | die("Not allowed! Please open installer/index.php instead."); |
| | | } |
| | | |
| | | ?> |
| | | <form action="index.php" method="post"> |
| | | <input type="hidden" name="_step" value="2" /> |
| | | <?php |
| | |
| | | // register these boolean fields |
| | | $RCI->bool_config_props = array( |
| | | 'ip_check' => 1, |
| | | 'enable_caching' => 1, |
| | | 'enable_spellcheck' => 1, |
| | | 'auto_create_user' => 1, |
| | | 'smtp_log' => 1, |
| | |
| | | <p class="hint">This increases security but can cause sudden logouts when someone uses a proxy with changing IPs.</p> |
| | | </dd> |
| | | |
| | | <dt class="propname">enable_caching</dt> |
| | | <dd> |
| | | <?php |
| | | |
| | | $check_caching = new html_checkbox(array('name' => '_enable_caching', 'id' => "cfgcache")); |
| | | echo $check_caching->show(intval($RCI->getprop('enable_caching')), array('value' => 1)); |
| | | |
| | | ?> |
| | | <label for="cfgcache">Cache messages in local database</label><br /> |
| | | </dd> |
| | | |
| | | <dt class="propname">enable_spellcheck</dt> |
| | | <dd> |
| | |
| | | |
| | | ?> |
| | | </dd> |
| | | |
| | | <dt class="propname">db_prefix</dt> |
| | | <dd> |
| | | <?php |
| | | |
| | | $input_prefix = new html_inputfield(array('name' => '_db_prefix', 'size' => 20, 'id' => "cfgdbprefix")); |
| | | echo $input_prefix->show($RCI->getprop('db_prefix')); |
| | | |
| | | ?> |
| | | <div>Optional prefix that will be added to database object names (tables and sequences).</div> |
| | | </dd> |
| | | |
| | | </dl> |
| | | </fieldset> |
| | | |