Commit 59414bd7d52c9cbe06f06fac393e224e61f9fb85
Merge branch 'edge' of github.com:ktgit/knowledgetree into edge
Showing
1 changed file
with
1 additions
and
2 deletions
setup/wizard/steps/dependencies.php
| ... | ... | @@ -333,7 +333,6 @@ class dependencies extends Step |
| 333 | 333 | */ |
| 334 | 334 | private function getRequiredExtensions() { |
| 335 | 335 | $ext = array( |
| 336 | -// array('extension' => 'fileinfo', 'required' => 'no', 'name' => 'Fileinfo', 'details' => 'Provides better file identification support - not necessary if you use file extensions.'), | |
| 337 | 336 | array('extension' => 'iconv', 'required' => 'no', 'name' => 'IconV', 'details' => 'Used for conversion between character sets.'), |
| 338 | 337 | array('extension' => 'mysql', 'required' => 'yes', 'name' => 'MySQL', 'details' => 'Used for accessing a MySQL database.'), |
| 339 | 338 | array('extension' => 'curl', 'required' => 'yes', 'name' => 'cURL', 'details' => 'Allows the connection and communication between different servers types using various protocols.'), |
| ... | ... | @@ -347,7 +346,7 @@ class dependencies extends Step |
| 347 | 346 | if(WINDOWS_OS) { |
| 348 | 347 | return $ext; |
| 349 | 348 | } else { |
| 350 | - unset($ext[5]); | |
| 349 | + unset($ext[4]); // Relies on current structure of $ext. | |
| 351 | 350 | return $ext; |
| 352 | 351 | } |
| 353 | 352 | } | ... | ... |