BookStack/app/App/Application.php

24 lines
543 B
PHP
Raw Normal View History

<?php
2023-05-17 18:56:55 +02:00
namespace BookStack\App;
class Application extends \Illuminate\Foundation\Application
{
/**
* Get the path to the application configuration files.
*
2021-06-26 17:23:15 +02:00
* @param string $path Optionally, a path to append to the config path
*
* @return string
*/
public function configPath($path = '')
{
2019-09-07 00:36:16 +02:00
return $this->basePath
. DIRECTORY_SEPARATOR
. 'app'
. DIRECTORY_SEPARATOR
. 'Config'
2021-06-26 17:23:15 +02:00
. ($path ? DIRECTORY_SEPARATOR . $path : $path);
}
}