Index: branches/new-installer/phase3/includes/installer/WebInstaller.php |
— | — | @@ -1339,8 +1339,10 @@ |
1340 | 1340 | ); |
1341 | 1341 | |
1342 | 1342 | $caches = array( 'none', 'anything', 'db' ); |
| 1343 | + $selected = 'db'; |
1343 | 1344 | if( count( $this->getVar( '_Caches' ) ) ) { |
1344 | 1345 | $caches[] = 'accel'; |
| 1346 | + $selected = 'accel'; |
1345 | 1347 | } |
1346 | 1348 | $caches[] = 'memcached'; |
1347 | 1349 | |
— | — | @@ -1353,6 +1355,7 @@ |
1354 | 1356 | 'label' => 'config-cache-options', |
1355 | 1357 | 'itemLabelPrefix' => 'config-cache-', |
1356 | 1358 | 'values' => $caches, |
| 1359 | + 'value' => $selected, |
1357 | 1360 | ) ) . |
1358 | 1361 | $this->parent->getHelpBox( 'config-cache-help' ) . |
1359 | 1362 | $this->parent->getTextBox( array( |