Skip to content

Commit 6bac44f

Browse files
authored
Update helpers.php
To make the helper work correct in the latest laravel
1 parent f118c78 commit 6bac44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Support/helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
*/
1111
function resource_path($path = '')
1212
{
13-
return \Illuminate\Support\Facades\App::basePath() . DIRECTORY_SEPARATOR . 'resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
13+
return app()->basePath() . DIRECTORY_SEPARATOR . 'resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)