Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT) - Removed now obsolete db environment variable functionality - Added functionality to load env variables (overwrites DB based cached)
This commit is contained in:
@@ -37,10 +37,10 @@ class ConfigFactory
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function createCache(ConfigFileLoader $loader)
|
||||
public function createCache(ConfigFileLoader $loader, array $server = [])
|
||||
{
|
||||
$configCache = new Cache();
|
||||
$loader->setupCache($configCache);
|
||||
$loader->setupCache($configCache, $server);
|
||||
|
||||
return $configCache;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user