15 lines
283 B
PHP
15 lines
283 B
PHP
|
<?php
|
||
|
|
||
|
if (!function_exists('config_path')) {
|
||
|
/**
|
||
|
* Get the configuration path.
|
||
|
*
|
||
|
* @param string $path
|
||
|
* @return string
|
||
|
*/
|
||
|
function config_path($path = '')
|
||
|
{
|
||
|
return app()->basePath() . '/config' . ($path ? '/' . $path : $path);
|
||
|
}
|
||
|
}
|