mirror of
https://github.com/friendica/friendica
synced 2025-05-18 16:24:11 +02:00
cleanup
This commit is contained in:
parent
b23368b0ea
commit
40e9bbeb88
2 changed files with 3 additions and 3 deletions
|
@ -221,7 +221,7 @@ class App
|
|||
$this->config = $config;
|
||||
$this->profiler = $profiler;
|
||||
$cfgBasePath = $this->config->get('system', 'basepath');
|
||||
$this->basePath = (isset($cfgBasePath) && $cfgBasePath !== '') ? $cfgBasePath : $basePath;
|
||||
$this->basePath = !empty($cfgBasePath) ? $cfgBasePath : $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