mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Don't require paths to be set in config - use sensible defaults
This commit is contained in:
@@ -101,7 +101,7 @@ class InstalledApp implements AppInterface
|
|||||||
|
|
||||||
private function subPath($pathName): string
|
private function subPath($pathName): string
|
||||||
{
|
{
|
||||||
return '/'.$this->config['paths'][$pathName];
|
return '/'.($this->config['paths'][$pathName] ?? $pathName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user