diff --git a/framework/core/src/Foundation/Site.php b/framework/core/src/Foundation/Site.php index 904e403de..e069366e8 100644 --- a/framework/core/src/Foundation/Site.php +++ b/framework/core/src/Foundation/Site.php @@ -95,6 +95,10 @@ class Site { $this->basePath = $basePath; + if (file_exists($file = $this->basePath.'/config.php')) { + $this->config = include $file; + } + return $this; }