basePath().'/config.php')) { $local_conf = include $app->basePath().'/config.php'; foreach ($local_conf as $namespace => $override_config) { $config = $repository->get($namespace, []); $update_config = array_replace_recursive($config, $override_config); $repository->set($namespace, $update_config); } } } }