Changeset f8c06e9 in github
- Timestamp:
- Mar 5, 2010 8:29:52 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 1163db9
- Parents:
- 8ee7767
- File:
-
- 1 edited
-
installer/rcube_install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
installer/rcube_install.php
r11e670d rf8c06e9 42 42 43 43 // these config options are optional or can be set to null 44 var $optional_config = array( 45 'log_driver', 'syslog_id', 'syslog_facility', 'imap_auth_type', 46 'smtp_helo_host', 'smtp_auth_type', 'sendmail_delay', 'double_auth', 47 'language', 'mail_header_delimiter', 'create_default_folders', 48 'quota_zero_as_unlimited', 'spellcheck_uri', 'spellcheck_languages', 49 'http_received_header', 'session_domain', 'mime_magic', 'log_logins', 50 'enable_installer', 'skin_include_php', 'imap_root', 'imap_delimiter', 51 'virtuser_file', 'virtuser_query', 'dont_override'); 44 var $required_config = array('db_dsnw', 'des_key'); 52 45 53 46 /** … … 231 224 232 225 $out = $seen = array(); 233 $ optional = array_flip($this->optional_config);226 $required = array_flip($this->required_config); 234 227 235 228 // iterate over the current configuration … … 247 240 // iterate over default config 248 241 foreach ($defaults as $prop => $value) { 249 if (! $seen[$prop] && !isset($this->config[$prop]) && !isset($optional[$prop]))242 if (!isset($seen[$prop]) && !isset($this->config[$prop]) && isset($required[$prop])) 250 243 $out['missing'][] = array('prop' => $prop); 251 244 } 252 245 253 246 // check config dependencies and contradictions 254 247 if ($this->config['enable_spellcheck'] && $this->config['spellcheck_engine'] == 'pspell') {
Note: See TracChangeset
for help on using the changeset viewer.
