diff options
author | Brice Maron <brice@bmaron.net> | 2012-05-06 21:42:33 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-05-06 21:42:33 +0000 |
commit | 333345d20190212200b10ae01d925807e1b10ece (patch) | |
tree | abaec0c752a325f35cc040ed1dd24994bd956532 /apps/admin_dependencies_chk | |
parent | fe8b10a9224ac7dc1c819c4aca93c27f0d7bba0b (diff) | |
download | nextcloud-server-333345d20190212200b10ae01d925807e1b10ece.tar.gz nextcloud-server-333345d20190212200b10ae01d925807e1b10ece.zip |
Add php-pdo to soft depend check
Diffstat (limited to 'apps/admin_dependencies_chk')
-rwxr-xr-x | apps/admin_dependencies_chk/settings.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php index 11253ef1c4c..4e0803f791b 100755 --- a/apps/admin_dependencies_chk/settings.php +++ b/apps/admin_dependencies_chk/settings.php @@ -80,6 +80,12 @@ $modules[] =array( 'modules'=> array('core'), 'message'=> $l->t('The allow_url_fopen directive of your php.ini should be set to 1 to retrieve knowledge base from OCS servers')); +$modules[] =array( + 'status' => class_exists('PDO') ? 'ok' : 'warning', + 'part'=> 'php-pdo', + 'modules'=> array('core'), + 'message'=> $l->t('The php-pdo module is needed to store owncloud data into a database.')); + foreach($modules as $key => $module) { $enabled = false ; foreach($module['modules'] as $app) { |