mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-31 15:42:03 -04:00
19 lines
450 B
PHP
19 lines
450 B
PHP
<?php
|
|
|
|
namespace App\Ninja\Translation;
|
|
|
|
class TranslationServiceProvider extends \Illuminate\Translation\TranslationServiceProvider
|
|
{
|
|
|
|
/**
|
|
* Register the translation line loader.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function registerLoader()
|
|
{
|
|
$this->app->singleton('translation.loader', function ($app) {
|
|
return new FileLoader($app['files'], $app['path.lang'], storage_path("lang"));
|
|
});
|
|
}
|
|
} |