mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 12:28:06 +01:00
Merge pull request #2033 from b17/issue-1968/mysql-check
Add check for PDO Mysql extension.
This commit is contained in:
commit
100ef7355b
@ -233,6 +233,20 @@ class SelfTest
|
||||
);
|
||||
}
|
||||
|
||||
$title = 'PHP - PDO Mysql Extension';
|
||||
if (extension_loaded('pdo_mysql')) {
|
||||
$checks[] = array(
|
||||
'title' => Yii::t('base', $title),
|
||||
'state' => 'OK'
|
||||
);
|
||||
} else {
|
||||
$checks[] = array(
|
||||
'title' => Yii::t('base', $title),
|
||||
'state' => 'ERROR',
|
||||
'hint' => 'Install PDO Mysql Extension'
|
||||
);
|
||||
}
|
||||
|
||||
// Checks Writeable Config
|
||||
/*
|
||||
$title = 'Permissions - Config';
|
||||
|
Loading…
x
Reference in New Issue
Block a user