use cache for basepath

This commit is contained in:
Philipp Holzer 2019-02-18 01:15:55 +01:00
parent 218e41a818
commit 95deff1685
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class App
$this->logger = $logger;
$this->config = $config;
$this->profiler = $profiler;
$this->basePath = $this->config->get('system', 'basepath');
$this->basePath = $this->config->getCache()->get('system', 'basepath');
if (!Core\System::isDirectoryUsable($this->basePath, false)) {
throw new Exception('Basepath \'' . $this->basePath . '\' isn\'t usable.');