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 59965a1 commit 4b65b32Copy full SHA for 4b65b32
helpers.php
@@ -3,11 +3,13 @@
3
/**
4
* Get the configuration path.
5
*
6
+ * This is a polyfill for the missing shorthand function in lumen.
7
+ *
8
* @param string $path
9
* @return string
10
*/
11
function config_path($path = '')
12
{
- return app()->basePath() . DIRECTORY_SEPARATOR . 'config' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
13
+ return app()->basePath('config') . ($path ? DIRECTORY_SEPARATOR . $path : $path);
14
}
15
0 commit comments