Introduce "static/env.config.php" for environment variable mapping to config cache...
[friendica.git/.git] / src / Factory / ConfigFactory.php
index 954f893..3110490 100644 (file)
@@ -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;
        }