From: Philipp Holzer Date: Mon, 18 Feb 2019 00:15:55 +0000 (+0100) Subject: use cache for basepath X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95deff1685ceff88e7acd002b2341913cc51f011;p=friendica.git use cache for basepath --- diff --git a/src/App.php b/src/App.php index f48abcf9cb..f41d486b5c 100644 --- a/src/App.php +++ b/src/App.php @@ -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.');