mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Pick up config when setting a new base path
This commit is contained in:
@@ -95,6 +95,10 @@ class Site
|
||||
{
|
||||
$this->basePath = $basePath;
|
||||
|
||||
if (file_exists($file = $this->basePath.'/config.php')) {
|
||||
$this->config = include $file;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user