Adding PHP ImageMagick requirement see BT#6226

skala
Julio Montoya 12 years ago
parent e9313d4739
commit 028941265b
  1. 39
      main/install/install.lib.php

@ -1007,30 +1007,16 @@ function display_requirements($app, $installType)
$html .= '</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/en/book.session.php" target="_blank">Session</a> '.get_lang(
'support'
).'</td>
<td class="requirements-item"><a href="http://php.net/manual/en/book.session.php" target="_blank">Session</a> '.get_lang('support').'</td>
<td class="requirements-value">'.check_extension('session',get_lang('Yes'), get_lang('ExtensionSessionsNotAvailable')).'</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/en/book.mysql.php" target="_blank">MySQL</a> '.get_lang(
'support'
).'</td>
<td class="requirements-value">'.check_extension(
'mysql',
get_lang('Yes'),
get_lang('ExtensionMySQLNotAvailable')
).'</td>
<td class="requirements-item"><a href="http://php.net/manual/en/book.mysql.php" target="_blank">MySQL</a> '.get_lang('support').'</td>
<td class="requirements-value">'.check_extension('mysql', get_lang('Yes'), get_lang('ExtensionMySQLNotAvailable') ).'</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/en/book.zlib.php" target="_blank">Zlib</a> '.get_lang(
'support'
).'</td>
<td class="requirements-value">'.check_extension(
'zlib',
get_lang('Yes'),
get_lang('ExtensionZlibNotAvailable')
).'</td>
<td class="requirements-item"><a href="http://php.net/manual/en/book.zlib.php" target="_blank">Zlib</a> '.get_lang('support').'</td>
<td class="requirements-value">'.check_extension('zlib', get_lang('Yes'), get_lang('ExtensionZlibNotAvailable') ).'</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/en/book.pcre.php" target="_blank">Perl-compatible regular expressions</a> '.get_lang(
@ -1081,6 +1067,16 @@ function display_requirements($app, $installType)
get_lang('ExtensionGDNotAvailable')
).'</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/fr/book.imagick.php" target="_blank">ImageMagick</a> '.get_lang(
'support'
).' ('.get_lang('Optional').')</td>
<td class="requirements-value">'.check_extension('imagick', get_lang('Yes'), get_lang('No'), true).'</td>
</tr>
<tr>
<td class="requirements-item"><a href="http://php.net/manual/en/book.json.php" target="_blank">JSON</a> '.get_lang(
'support'
@ -1112,6 +1108,11 @@ function display_requirements($app, $installType)
<td class="requirements-value">'.check_extension('curl', get_lang('Yes'), get_lang('No'), true).'</td>
</tr>
</table>';
$html .= ' </div>';
$html .= '</div>';

Loading…
Cancel
Save