Skip to content

Commit 629e49f

Browse files
committed
laravel 5.1 support
1 parent 605b767 commit 629e49f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/langman.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
* usually located in resources/lang but you may change that.
1212
*/
1313

14-
'path' => resource_path('lang'),
14+
'path' => realpath(base_path('resources/lang')),
1515
];

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function writeFile($filePath, array $translations)
183183
public function getFileContent($filePath, $createIfNotExists = false)
184184
{
185185
if ($createIfNotExists && ! $this->disk->exists($filePath)) {
186-
if (! $this->disk->exists($directory = $this->disk->dirname($filePath))) {
186+
if (! $this->disk->exists($directory = dirname($filePath))) {
187187
mkdir($directory, true);
188188
}
189189

0 commit comments

Comments
 (0)