]> git.mxchange.org Git - friendica.git/commitdiff
use cache for basepath
authorPhilipp Holzer <admin@philipp.info>
Mon, 18 Feb 2019 00:15:55 +0000 (01:15 +0100)
committerPhilipp Holzer <admin@philipp.info>
Mon, 18 Feb 2019 00:15:55 +0000 (01:15 +0100)
src/App.php

index f48abcf9cbda92c1238e27083c73497e720da024..f41d486b5cd857c34526f40e84bb870115b28937 100644 (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.');