Skip to content

Commit

Permalink
Test for mongodb extension here too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 27, 2016
1 parent 9f3c87a commit 9636790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions horde/lib/Test.php
Expand Up @@ -522,6 +522,9 @@ protected function _checkPam()
*/
protected function _checkMongo()
{
if (extension_loaded('mongodb')) {
return true;
}
if (!extension_loaded('mongo')) {
return false;
}
Expand Down

0 comments on commit 9636790

Please sign in to comment.