mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:10:10 +00:00
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:
parent
3587e89482
commit
d39ee428f0
8 changed files with 93 additions and 8 deletions
|
@ -66,7 +66,7 @@ class Database
|
|||
protected $testmode = false;
|
||||
private $relation = [];
|
||||
|
||||
public function __construct(Cache $configCache, Profiler $profiler, LoggerInterface $logger, array $server = [])
|
||||
public function __construct(Cache $configCache, Profiler $profiler, LoggerInterface $logger)
|
||||
{
|
||||
// We are storing these values for being able to perform a reconnect
|
||||
$this->configCache = $configCache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue