Paragonik/paragonik-backend/vendor/beyondcode/laravel-dump-server/helpers.php

17 lines
371 B
PHP
Raw Normal View History

2019-12-07 16:47:41 +01:00
<?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);
}
}