mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
Pick up config when setting a new base path
This commit is contained in:
parent
29ab5b83b1
commit
1ba7ba0ad7
|
@ -95,6 +95,10 @@ class Site
|
|||
{
|
||||
$this->basePath = $basePath;
|
||||
|
||||
if (file_exists($file = $this->basePath.'/config.php')) {
|
||||
$this->config = include $file;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user