Skip to content
Snippets Groups Projects
Commit 333345d2 authored by Brice Maron's avatar Brice Maron
Browse files

Add php-pdo to soft depend check

parent fe8b10a9
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment