Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

load system-level default config, and then system-level mode config, …

…instead of just the mode without default. fixes #29
  • Loading branch information...
commit de68d9200a7b1f193923a3b30c19f3ac9d6240ad 1 parent df259b9
@pmjones pmjones authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/Aura/Framework/Bootstrap/Factory.php
View
7 src/Aura/Framework/Bootstrap/Factory.php
@@ -140,12 +140,17 @@ public function prep($mode)
require $file;
};
- // read config files
+ // read package config files
$cache = $this->readCacheConfig($system, $read, $mode);
if (! $cache) {
$this->readPackageConfig($system, $read, $mode);
}
+
+ // read system config files
$this->readSystemConfig($system, $read, $mode);
+ if ($mode != 'default') {
+ $this->readSystemConfig($system, $read, $mode);
+ }
// lock the container
$di->lock();
Please sign in to comment.
Something went wrong with that request. Please try again.