diff --git a/src/Foundation/Site.php b/src/Foundation/Site.php index 904e403de..e069366e8 100644 --- a/src/Foundation/Site.php +++ b/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; }