]> BookStack Code Mirror - bookstack/blob - app/Application.php
Added 404 response for non-existing setting categories
[bookstack] / app / Application.php
1 <?php
2
3 namespace BookStack;
4
5 class Application extends \Illuminate\Foundation\Application
6 {
7     /**
8      * Get the path to the application configuration files.
9      *
10      * @param string $path Optionally, a path to append to the config path
11      *
12      * @return string
13      */
14     public function configPath($path = '')
15     {
16         return $this->basePath
17             . DIRECTORY_SEPARATOR
18             . 'app'
19             . DIRECTORY_SEPARATOR
20             . 'Config'
21             . ($path ? DIRECTORY_SEPARATOR . $path : $path);
22     }
23 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.