...
|
...
|
@@ -47,7 +47,7 @@ class MongoCore extends Root |
|
|
$server = $this->getServerHost('nosql');
|
|
|
$_serverConfig = $server->getServerConfig('database', $this->_dbname);
|
|
|
if (empty($_serverConfig)) {
|
|
|
throw new MongoException('Mongo Servers Config Is Null.');
|
|
|
throw new MongoException('Mongo Servers Config Not DBName "' . $this->_dbname . '" <br />Config File: ' . $this->serviceFile);
|
|
|
}
|
|
|
$options = $server->getServerConfig('mongo');
|
|
|
$this->targetOptions = array_merge($this->targetOptions, $options);
|
...
|
...
|
|