mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
Check for PHP XML support in setup.php (see #91)
This commit is contained in:
parent
482850e6b2
commit
fee15797f7
@ -224,6 +224,10 @@ function check_datetime() {
|
||||
return $result;
|
||||
}
|
||||
|
||||
function check_xml() {
|
||||
return new CheckResult(function_exists('xml_parser_create_ns'));
|
||||
}
|
||||
|
||||
function check_schema_version() {
|
||||
global $c;
|
||||
if ( $c->want_dbversion[0] == $c->schema_major
|
||||
@ -324,6 +328,7 @@ function build_dependencies_table( ) {
|
||||
translate('GNU gettext support') => 'check_gettext',
|
||||
translate('PHP iconv support') => 'check_iconv',
|
||||
translate('PHP DateTime class') => 'check_datetime',
|
||||
translate('PHP XML support') => 'check_xml',
|
||||
translate('Suhosin "server.strip" disabled') => 'check_suhosin_server_strip',
|
||||
translate('PHP Magic Quotes GPC off') => 'check_magic_quotes_gpc',
|
||||
translate('PHP Magic Quotes runtime off') => 'check_magic_quotes_runtime',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user