Index: trunk/phase3/includes/installer/WebInstaller.php |
— | — | @@ -1387,7 +1387,7 @@ |
1388 | 1388 | $extensions = $this->parent->findExtensions(); |
1389 | 1389 | if( $extensions ) { |
1390 | 1390 | $extHtml = $this->parent->getFieldsetStart( 'config-extensions' ); |
1391 | | - foreach( $extensions as $ext ) { |
| 1391 | + foreach( array_keys($extensions) as $ext ) { |
1392 | 1392 | $extHtml .= $this->parent->getCheckBox( array( |
1393 | 1393 | 'var' => "ext-$ext", |
1394 | 1394 | 'rawtext' => $ext, |
Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -844,7 +844,7 @@ |
845 | 845 | $dh = opendir( $dir ); |
846 | 846 | while ( ( $file = readdir( $dh ) ) !== false ) { |
847 | 847 | if( file_exists( "$dir/$file/$file.php" ) ) { |
848 | | - $exts[] = $file; |
| 848 | + $exts[$file] = null; |
849 | 849 | } |
850 | 850 | } |
851 | 851 | $this->setVar( '_Extensions', $exts ); |