summaryrefslogtreecommitdiffstats
path: root/apps/admin_dependencies_chk
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-05-06 21:42:33 +0000
committerBrice Maron <brice@bmaron.net>2012-05-06 21:42:33 +0000
commit333345d20190212200b10ae01d925807e1b10ece (patch)
treeabaec0c752a325f35cc040ed1dd24994bd956532 /apps/admin_dependencies_chk
parentfe8b10a9224ac7dc1c819c4aca93c27f0d7bba0b (diff)
downloadnextcloud-server-333345d20190212200b10ae01d925807e1b10ece.tar.gz
nextcloud-server-333345d20190212200b10ae01d925807e1b10ece.zip
Add php-pdo to soft depend check
Diffstat (limited to 'apps/admin_dependencies_chk')
-rwxr-xr-xapps/admin_dependencies_chk/settings.php6
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) {