check if php extension xml is available. fixes #741
This commit is contained in:
@ -163,7 +163,7 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
|
||||
if ( extension_loaded('xml') ) {
|
||||
$data['installerResultDiagnose_XML'] = serendipity_installerResultDiagnose(S9Y_I_SUCCESS, YES);
|
||||
} else {
|
||||
$data['installerResultDiagnose_XML'] = serendipity_installerResultDiagnose(S9Y_I_WARNING, NO);
|
||||
$data['installerResultDiagnose_XML'] = serendipity_installerResultDiagnose(S9Y_I_ERROR, NO);
|
||||
}
|
||||
|
||||
if ( extension_loaded('iconv') ) {
|
||||
|
Reference in New Issue
Block a user