Changeset 2023 in subversion
- Timestamp:
- Oct 29, 2008 3:12:39 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
bin/update.sh (modified) (3 diffs)
-
installer/rcube_install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/bin/update.sh
r2020 r2023 20 20 21 21 foreach ($messages['missing'] as $msg) { 22 echo '- ' . $msg['prop'] . ($msg['name'] ? ': ' . $msg['name'] : '') . "\n";22 echo "- '" . $msg['prop'] . ($msg['name'] ? "': " . $msg['name'] : "'") . "\n"; 23 23 $err++; 24 24 } … … 32 32 33 33 foreach ($messages['replaced'] as $msg) { 34 echo "- " . $msg['prop'] . "\t\t was replaced by " . $msg['replacement'] . "\n";34 echo "- '" . $msg['prop'] . "' was replaced by '" . $msg['replacement'] . "'\n"; 35 35 $err++; 36 36 } … … 44 44 45 45 foreach ($messages['obsolete'] as $msg) { 46 echo "- " . $msg['prop'] . ($msg['name'] ? ': ' . $msg['name'] : '') . "\n";46 echo "- '" . $msg['prop'] . ($msg['name'] ? "': " . $msg['name'] : "'") . "\n"; 47 47 $err++; 48 48 } -
trunk/roundcubemail/installer/rcube_install.php
r2020 r2023 34 34 35 35 var $obsolete_config = array('db_backend'); 36 var $replaced_config = array('skin_path' => 'skin', 'locale_string' => 'language'); 36 var $replaced_config = array( 37 'skin_path' => 'skin', 38 'locale_string' => 'language', 39 'multiple_identities' => 'identities_level', 40 ); 37 41 38 42 // these config options are optional or can be set to null … … 215 219 $optional = array_flip($this->optional_config); 216 220 217 // i reate over the current configuration221 // iterate over the current configuration 218 222 foreach ($this->config as $prop => $value) { 219 223 if ($replacement = $this->replaced_config[$prop]) { … … 275 279 if ($prop == 'skin_path') 276 280 $this->config[$replacement] = preg_replace('#skins/(\w+)/?$#', '\\1', $current[$prop]); 281 else if ($prop == 'multiple_identities') 282 $this->config[$replacement] = $current[$prop] ? 2 : 0; 277 283 else 278 284 $this->config[$replacement] = $current[$prop];
Note: See TracChangeset
for help on using the changeset viewer.
