Skip to content
Snippets Groups Projects
Commit 93e713d3 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

Merge pull request #1987 from owncloud/fixinstalldeps

add checks for xml and dom when installing
parents 6d4b344f 59835a90
Branches
No related tags found
No related merge requests found
......@@ -222,7 +222,16 @@ class OC_Util {
'hint'=>'Please ask your server administrator to install the module.');
$web_server_restart= false;
}
if(!class_exists('DOMDocument')) {
$errors[] = array('error' => 'PHP module dom not installed.<br/>',
'hint' => 'Please ask your server administrator to install the module.');
$web_server_restart = false;
}
if(!function_exists('xml_parser_create')) {
$errors[] = array('error' => 'PHP module libxml not installed.<br/>',
'hint' => 'Please ask your server administrator to install the module.');
$web_server_restart = false;
}
if(!function_exists('mb_detect_encoding')) {
$errors[]=array('error'=>'PHP module mb multibyte not installed.<br/>',
'hint'=>'Please ask your server administrator to install the module.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment