language localization with browser settings

This commit is contained in:
Arno Kaimbacher 2018-11-27 12:21:42 +01:00
parent 8d91d0e7a8
commit f0e84a2991
13 changed files with 231 additions and 173 deletions

View file

@ -20,19 +20,19 @@ class SolariumServiceProvider extends ServiceProvider
$this->app->bind(Client::class, function ($app) {
// $config = config('solarium');
$config = array(
'endpoint' => array(
'localhost' => array(
'host' => '127.0.0.1',
'port' => '8983',
'path' => '/solr/',
'core' => 'opus4'
)
'endpoint' => array(
'localhost' => array(
'host' => '127.0.0.1',
'port' => '8983',
'path' => '/solr/',
'core' => 'opus4'
)
);
)
);
//return new Client($config);
return new Client($config);
return new Client($config);
//return new Client($app['config']['solarium']);
});
});
}
public function provides()