mirror of
https://github.com/flarum/core.git
synced 2025-02-25 03:33:42 +01:00
Pick up config when setting a new base path
This commit is contained in:
parent
1b94ef90ea
commit
2ec183778c
@ -95,6 +95,10 @@ class Site
|
|||||||
{
|
{
|
||||||
$this->basePath = $basePath;
|
$this->basePath = $basePath;
|
||||||
|
|
||||||
|
if (file_exists($file = $this->basePath.'/config.php')) {
|
||||||
|
$this->config = include $file;
|
||||||
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user