diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-10-06 17:37:38 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-10-06 17:37:38 +0200 |
commit | 5eaf95eedd842c3978173f75db1db68253dc1bc7 (patch) | |
tree | 1c6f837a7616c4fbbe67d417fa3437f39e5ae430 /lib | |
parent | f5b62fb2eb10f23109bf1b1e8a3a6d0c8b0c67e4 (diff) | |
download | nextcloud-server-5eaf95eedd842c3978173f75db1db68253dc1bc7.tar.gz nextcloud-server-5eaf95eedd842c3978173f75db1db68253dc1bc7.zip |
check for SimpleXML which seems to bw non default on Free BSD
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index ae77e16c8a0..6707d67638e 100755 --- a/lib/util.php +++ b/lib/util.php @@ -287,6 +287,11 @@ class OC_Util { $errors[]=array('error'=>'PHP module zlib is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.'); $web_server_restart= false; } + + if(!function_exists('simplexml_load_string')) { + $errors[]=array('error'=>'PHP module SimpleXML is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.'); + $web_server_restart= false; + } if(floatval(phpversion())<5.3) { $errors[]=array('error'=>'PHP 5.3 is required.<br/>','hint'=>'Please ask your server administrator to update PHP to version 5.3 or higher. PHP 5.2 is no longer supported by ownCloud and the PHP community.'); $web_server_restart= false; |