We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a6246a + 1a4c931 commit 9f8d334Copy full SHA for 9f8d334
composer.json
@@ -20,7 +20,10 @@
20
"autoload": {
21
"psr-4": {
22
"HighSolutions\\LangImportExport\\": "src/"
23
- }
+ },
24
+ "files": [
25
+ "src/Support/helpers.php"
26
+ ]
27
},
28
"extra": {
29
"component": "package",
src/Support/helpers.php
@@ -0,0 +1,15 @@
1
+<?php
2
+
3
+if ( ! function_exists('resource_path'))
4
+{
5
+ /**
6
+ * Get the path to the resources folder.
7
+ *
8
+ * @param string $path
9
+ * @return string
10
+ */
11
+ function resource_path($path = '')
12
+ {
13
+ return \Illuminate\Support\Facades\App::basePath('resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path));
14
+ }
15
+}
0 commit comments