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.
1 parent 0ebb9f1 commit a532336Copy full SHA for a532336
composer.json
@@ -29,7 +29,10 @@
29
"autoload": {
30
"psr-4": {
31
"BeyondCode\\DumpServer\\": "src"
32
- }
+ },
33
+ "files": [
34
+ "helpers.php"
35
+ ]
36
},
37
"autoload-dev": {
38
helpers.php
@@ -0,0 +1,13 @@
1
+<?php
2
+if (!function_exists('config_path')) {
3
+ /**
4
+ * Get the configuration path.
5
+ *
6
+ * @param string $path
7
+ * @return string
8
+ */
9
+ function config_path($path = '')
10
+ {
11
+ return app()->basePath() . DIRECTORY_SEPARATOR . 'config' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
12
+ }
13
+}
0 commit comments