check if php extension xml is available. fixes #741
This commit is contained in:
parent
3e82e948b1
commit
626aac6335
@ -160,6 +160,12 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
|
||||
$data['installerResultDiagnose_MBSTR'] = serendipity_installerResultDiagnose(S9Y_I_WARNING, NO);
|
||||
}
|
||||
|
||||
if ( extension_loaded('xml') ) {
|
||||
$data['installerResultDiagnose_XML'] = serendipity_installerResultDiagnose(S9Y_I_SUCCESS, YES);
|
||||
} else {
|
||||
$data['installerResultDiagnose_XML'] = serendipity_installerResultDiagnose(S9Y_I_WARNING, NO);
|
||||
}
|
||||
|
||||
if ( extension_loaded('iconv') ) {
|
||||
$data['installerResultDiagnose_ICONV'] = serendipity_installerResultDiagnose(S9Y_I_SUCCESS, YES);
|
||||
} else {
|
||||
|
@ -95,6 +95,10 @@
|
||||
<td>mbstring extension</td>
|
||||
<td>{$installerResultDiagnose_MBSTR}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>xml extension</td>
|
||||
<td>{$installerResultDiagnose_XML}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>iconv extension</td>
|
||||
<td>{$installerResultDiagnose_ICONV}</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user