mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:43:40 +00:00
use cache for basepath
This commit is contained in:
parent
218e41a818
commit
95deff1685
1 changed files with 1 additions and 1 deletions
|
@ -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.');
|
||||
|
|
Loading…
Reference in a new issue