Pick up config when setting a new base path

This commit is contained in:
Toby Zerner 2017-12-19 18:38:00 +10:30
parent 1b94ef90ea
commit 2ec183778c

View File

@ -95,6 +95,10 @@ class Site
{
$this->basePath = $basePath;
if (file_exists($file = $this->basePath.'/config.php')) {
$this->config = include $file;
}
return $this;
}