Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit fbc94d6

Browse files
committed
Update TranslationServiceProvider.php
1 parent 678fd86 commit fbc94d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/TranslationServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
class TranslationServiceProvider extends LaravelTranslationServiceProvider
88
{
9-
const MULTI_LANG_PATH = __DIR__ . '/../../../caouecs/laravel4-lang';
10-
119
/**
1210
* Register the translation line loader.
1311
*
@@ -17,7 +15,9 @@ protected function registerLoader()
1715
{
1816
$this->app->singleton('translation.loader', function($app)
1917
{
20-
return new FileLoader($app['files'], $app['path.lang'], self::MULTI_LANG_PATH);
18+
$multiLangPath = __DIR__ . '/../../../caouecs/laravel4-lang';
19+
20+
return new FileLoader($app['files'], $app['path.lang'], $multiLangPath);
2121
});
2222
}
23-
}
23+
}

0 commit comments

Comments
 (0)