mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
check if value is set
get basepath with config instead cache
This commit is contained in:
parent
74edf9994f
commit
a3d6062476
4 changed files with 25 additions and 3 deletions
|
@ -219,7 +219,7 @@ class App
|
|||
$this->logger = $logger;
|
||||
$this->config = $config;
|
||||
$this->profiler = $profiler;
|
||||
$this->basePath = $this->config->getCache()->get('system', 'basepath');
|
||||
$this->basePath = $this->config->get('system', 'basepath');
|
||||
|
||||
if (!Core\System::isDirectoryUsable($this->basePath, false)) {
|
||||
throw new Exception('Basepath \'' . $this->basePath . '\' isn\'t usable.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue