2019-07-06 14:44:50 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BookStack;
|
|
|
|
|
|
|
|
class Application extends \Illuminate\Foundation\Application
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the path to the application configuration files.
|
|
|
|
*
|
|
|
|
* @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'
|
|
|
|
. ($path ? DIRECTORY_SEPARATOR.$path : $path);
|
2019-07-06 14:44:50 +02:00
|
|
|
}
|
2019-09-15 19:29:51 +02:00
|
|
|
}
|