merge mongo with master
This commit is contained in:
@ -38,7 +38,7 @@ abstract class DbDriver
|
||||
$required = array('database', 'username', 'password', 'hostname');
|
||||
foreach ($required as $option) {
|
||||
if (!isset($config[$option])) {
|
||||
throw new Exception('Configuration must have a "' . $option . '".');
|
||||
throw new GeneralException('Configuration must have a "' . $option . '".');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user