Paragonik/paragonik-backend/vendor/beyondcode/laravel-dump-server/helpers.php
2019-12-08 20:39:40 +01:00

17 lines
371 B
PHP

<?php
if (! function_exists('config_path')) {
/**
* Get the configuration path.
*
* This is a polyfill for the missing shorthand function in lumen.
*
* @param string $path
* @return string
*/
function config_path($path = '')
{
return app()->basePath('config').($path ? DIRECTORY_SEPARATOR.$path : $path);
}
}