1: <?php 2: 3: if (! function_exists('config_path')) { 4: /** 5: * Get the configuration path. 6: * 7: * @param string $path 8: * @return string 9: */ 10: function config_path($path = '') 11: { 12: return app()->basePath() . '/config' . ($path ? '/' . $path : $path); 13: } 14: } 15: