SphinxSearch engine default values uniformisation

This commit is contained in:
Romain Neutron
2013-08-08 11:03:56 +02:00
parent 607a8d7a25
commit 5b0e5ccddc
3 changed files with 27 additions and 34 deletions

View File

@@ -571,6 +571,8 @@ class SphinxSearchEngine implements SearchEngineInterface
*/
public static function create(Application $app, array $options = array())
{
$options = ConfigurationPanel::populateConfiguration($options);
return new static($app, $options['host'], $options['port'], $options['rt_host'], $options['rt_port']);
}