diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-28 06:36:19 -0800 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-28 06:36:19 -0800 |
commit | 93e713d3781c5d5fc6d0dbb6c6a0a8f9c2e15b97 (patch) | |
tree | dbcf86443f63582f20d931a08e9a2f7a8a7ab488 | |
parent | 6d4b344f5d8e1330a66836684053453ec4cc2ed9 (diff) | |
parent | 59835a9087e3b18dbf4e92dd84f4c77d77fed68f (diff) | |
download | nextcloud-server-93e713d3781c5d5fc6d0dbb6c6a0a8f9c2e15b97.tar.gz nextcloud-server-93e713d3781c5d5fc6d0dbb6c6a0a8f9c2e15b97.zip |
Merge pull request #1987 from owncloud/fixinstalldeps
add checks for xml and dom when installing
-rwxr-xr-x | lib/util.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 060db73da00..2e32ee2e3c2 100755 --- a/lib/util.php +++ b/lib/util.php @@ -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.'); |