diff options
author | Sam Tuke <samtuke@owncloud.com> | 2012-06-01 19:01:00 +0100 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2012-06-01 19:01:00 +0100 |
commit | 3d7143c7300e9458234d51fea4100197976ba906 (patch) | |
tree | 738487ce4d5e863ab783645cbaa34021fde57207 /lib | |
parent | 2ccf3da41168f843a5895913f0c1ef41a0cb04b7 (diff) | |
parent | 4aa96de53784e2765943df9fb6d7a2b87c87036f (diff) | |
download | nextcloud-server-3d7143c7300e9458234d51fea4100197976ba906.tar.gz nextcloud-server-3d7143c7300e9458234d51fea4100197976ba906.zip |
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 628c23f4cba..fda60587b82 100644 --- a/lib/util.php +++ b/lib/util.php @@ -264,6 +264,9 @@ class OC_Util { 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.'); } + if(!defined('PDO::ATTR_DRIVER_NAME')){ + $errors[]=array('error'=>'PHP PDO module is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.'); + } return $errors; } |