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 b259c11 + e124081 commit 63c0fedCopy full SHA for 63c0fed
src/Illuminate/Foundation/helpers.php
@@ -164,6 +164,20 @@ function config($key = null, $default = null)
164
}
165
166
167
+if ( ! function_exists('config_path'))
168
+{
169
+ /**
170
+ * Get the configuration path.
171
+ *
172
+ * @param string $path
173
+ * @return string
174
+ */
175
+ function config_path($path = '')
176
+ {
177
+ return app()->make('path.config').($path ? '/'.$path : $path);
178
+ }
179
+}
180
+
181
if ( ! function_exists('cookie'))
182
{
183
/**
0 commit comments